summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_stats.c
diff options
context:
space:
mode:
authorBenjamin LaHaise <bcrl@kvack.org>2012-03-27 15:55:44 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-28 04:45:37 -0400
commit3b9785c6b0ff37ac4ef5085b38756283da84dceb (patch)
tree08592027bcbba8ccc9074011868228a9b0f0ab7d /drivers/cpufreq/cpufreq_stats.c
parent4e7b2f1454382b220f792a7fbcbebd0985187161 (diff)
downloadop-kernel-dev-3b9785c6b0ff37ac4ef5085b38756283da84dceb.zip
op-kernel-dev-3b9785c6b0ff37ac4ef5085b38756283da84dceb.tar.gz
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>
Diffstat (limited to 'drivers/cpufreq/cpufreq_stats.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud