net: use consume_skb() in place of kfree_skb()

Remove some dropwatch/drop_monitor false positives.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:
Eric Dumazet
2012-06-04 01:17:19 +00:00
revīziju iesūtīja David S. Miller
vecāks 4aea39c11c
revīzija 5d0ba55b64
7 mainīti faili ar 14 papildinājumiem un 12 dzēšanām

Parādīt failu

@@ -283,7 +283,7 @@ static int pppoatm_send(struct ppp_channel *chan, struct sk_buff *skb)
kfree_skb(n);
goto nospace;
}
kfree_skb(skb);
consume_skb(skb);
skb = n;
if (skb == NULL)
return DROP_PACKET;