From: Eric Dumazet Date: Thu, 6 May 2010 07:53:53 +0000 (-0700) Subject: veth: Dont kfree_skb() after dev_forward_skb() X-Git-Tag: v2.6.34~51^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ec82562ffc6f297d0de36d65776cff8e5704867;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed