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>
This commit is contained in:
Eric Dumazet 2012-04-19 02:24:17 +00:00 committed by David S. Miller
parent 7426a5645f
commit 9ff264492f
1 changed files with 1 additions and 1 deletions

View File

@ -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);