]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: Make skb->skb_iif always track skb->dev
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 23:27:54 +0000 (16:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 23:36:27 +0000 (16:36 -0700)
commitb68581778cd0051a3fb9a2b614dee7eccb5127ff
treefadc77a8c3f1b0a77e05a69fad951f83ead67d43
parent92101b3b2e3178087127709a556b091dae314e9e
net: Make skb->skb_iif always track skb->dev

Make it follow device decapsulation, from things such as VLAN and
bonding.

The stuff that actually cares about pre-demuxed device pointers, is
handled by the "orig_dev" variable in __netif_receive_skb().  And
the only consumer of that is the po->origdev feature of AF_PACKET
sockets.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c