Files
android_kernel_xiaomi_sm8450/net
Benjamin LaHaise 3b9785c6b0 net/core: dev_forward_skb() should clear skb_iif
While investigating another bug, I found that the code on the incoming path
in __netif_receive_skb will only set skb->skb_iif if it is already 0.  When
dev_forward_skb() is used in the case of interfaces like veth, skb_iif may
already have been set.  Making dev_forward_skb() cause the packet to look
like a newly received packet would seem to the the correct behaviour here,
as otherwise the wrong incoming interface can be reported for such a packet.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-03-28 04:45:37 -04:00
..
2011-12-14 02:39:30 -05:00
2011-12-11 18:25:16 -05:00
2012-03-06 15:16:25 -05:00
2012-03-08 13:52:08 -08:00
2011-12-16 15:49:52 -05:00