summaryrefslogtreecommitdiff
path: root/drivers/net/ppp/ppp_async.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-05-19 00:23:00 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-19 10:32:30 +0400
commit968d70184d599abc7fe0a89447ef4e183e0135c4 (patch)
tree802783219bef73069906164aa4d6b6a67aab9f7d /drivers/net/ppp/ppp_async.c
parenta50feda546ac03415707a9bbcac8d6b20714db21 (diff)
downloadlinux-968d70184d599abc7fe0a89447ef4e183e0135c4.tar.xz
ppp: avoid false drop_monitor false positives
Call consume_skb() in place of kfree_skb() were appropriate. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp/ppp_async.c')
-rw-r--r--drivers/net/ppp/ppp_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_async.c b/drivers/net/ppp/ppp_async.c
index af95a98fd86f..a031f6b456b4 100644
--- a/drivers/net/ppp/ppp_async.c
+++ b/drivers/net/ppp/ppp_async.c
@@ -613,7 +613,7 @@ ppp_async_encode(struct asyncppp *ap)
*buf++ = PPP_FLAG;
ap->olim = buf;
- kfree_skb(ap->tpkt);
+ consume_skb(ap->tpkt);
ap->tpkt = NULL;
return 1;
}