diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-04 01:17:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-04 11:27:40 -0400 |
commit | 5d0ba55b6486f58cc890918d7167063d83f7fbb4 (patch) | |
tree | 9f9a59cc9fc9d31d7e557c7688a054f8fea8a6ab /net/ax25/ax25_out.c | |
parent | 4aea39c11c610e411768649fdc04777903ebfe07 (diff) | |
download | op-kernel-dev-5d0ba55b6486f58cc890918d7167063d83f7fbb4.zip op-kernel-dev-5d0ba55b6486f58cc890918d7167063d83f7fbb4.tar.gz |
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/ax25/ax25_out.c')
-rw-r--r-- | net/ax25/ax25_out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_out.c b/net/ax25/ax25_out.c index be8a25e..be2acab 100644 --- a/net/ax25/ax25_out.c +++ b/net/ax25/ax25_out.c @@ -350,7 +350,7 @@ void ax25_transmit_buffer(ax25_cb *ax25, struct sk_buff *skb, int type) if (skb->sk != NULL) skb_set_owner_w(skbn, skb->sk); - kfree_skb(skb); + consume_skb(skb); skb = skbn; } |