diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-04 05:17:19 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-04 19:27:40 +0400 |
commit | 5d0ba55b6486f58cc890918d7167063d83f7fbb4 (patch) | |
tree | 9f9a59cc9fc9d31d7e557c7688a054f8fea8a6ab /net/atm/pppoatm.c | |
parent | 4aea39c11c610e411768649fdc04777903ebfe07 (diff) | |
download | linux-5d0ba55b6486f58cc890918d7167063d83f7fbb4.tar.xz |
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>
Diffstat (limited to 'net/atm/pppoatm.c')
-rw-r--r-- | net/atm/pppoatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/pppoatm.c b/net/atm/pppoatm.c index ce1e59fdae7b..226dca989448 100644 --- a/net/atm/pppoatm.c +++ b/net/atm/pppoatm.c @@ -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; |