From: Benjamin LaHaise Date: Tue, 27 Mar 2012 15:55:44 +0000 (+0000) Subject: net/core: dev_forward_skb() should clear skb_iif X-Git-Tag: v3.4-rc2~37^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b9785c6b0ff37ac4ef5085b38756283da84dceb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed