diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-19 02:24:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-19 14:23:55 -0400 |
commit | 9ff264492ffa2ac90698e1806bf27e716a99fee8 (patch) | |
tree | ac8652288b7df8f53e2ab048ff7ab09e9cdbc9f3 /net/ipv6 | |
parent | 7426a5645f3d18daec1f7d6a24b529ec7286b800 (diff) | |
download | linux-9ff264492ffa2ac90698e1806bf27e716a99fee8.tar.bz2 |
ip6_tunnel: dont drop packet but consume it
When we need to reallocate skb, we dont drop a packet.
Call consume_skb() to not confuse dropwatch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index e25b0fdd935c..5df487c81ed9 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c @@ -954,7 +954,7 @@ static int ip6_tnl_xmit2(struct sk_buff *skb, if (skb->sk) skb_set_owner_w(new_skb, skb->sk); - kfree_skb(skb); + consume_skb(skb); skb = new_skb; } skb_dst_drop(skb); |