diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-05-06 09:53:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 09:53:53 +0200 |
commit | 6ec82562ffc6f297d0de36d65776cff8e5704867 (patch) | |
tree | 5c023102ddce1ae5f5a7b05f1f42766537ef86d1 /drivers/net/sky2.h | |
parent | IPv6: fix IPV6_RECVERR handling of locally-generated errors (diff) | |
download | linux-6ec82562ffc6f297d0de36d65776cff8e5704867.tar.xz linux-6ec82562ffc6f297d0de36d65776cff8e5704867.zip |
veth: Dont kfree_skb() after dev_forward_skb()
In case of congestion, netif_rx() frees the skb, so we must assume
dev_forward_skb() also consume skb.
Bug introduced by commit 445409602c092
(veth: move loopback logic to common location)
We must change dev_forward_skb() to always consume skb, and veth to not
double free it.
Bug report : http://marc.info/?l=linux-netdev&m=127310770900442&w=3
Reported-by: MartÃn Ferrari <martin.ferrari@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sky2.h')
0 files changed, 0 insertions, 0 deletions