Thread (2 messages) flat view 2 messages, 2 authors, 2012-07-24

Re: [PATCH 2/3] net: Make skb->skb_iif always track skb->dev

From: Nicolas de Pesloüan <hidden>
Date: 2012-07-24 21:42:16

Le 24/07/2012 01:45, David Miller a écrit :
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>
Jiri tried to remove this orig_dev usage in af_packet in march 2011, without success, by using the 
value of skb_iif instead :-)

In case my opinion might be relevant:

Reviewed-by: Nicolas de Pesloüan <redacted>

	Nicolas.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help