]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/loopback.c
[ETH]: Make eth_type_trans set skb->dev like the other *_type_trans
[mirror_ubuntu-bionic-kernel.git] / drivers / net / loopback.c
index 2b739fd584f1ff9042d9034548a5740f84c6aed0..4380e5e89dc957519d9520f8aee4f9c06e6275ee 100644 (file)
@@ -137,7 +137,6 @@ static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)
        skb_orphan(skb);
 
        skb->protocol = eth_type_trans(skb,dev);
-       skb->dev = dev;
 #ifndef LOOPBACK_MUST_CHECKSUM
        skb->ip_summed = CHECKSUM_UNNECESSARY;
 #endif