packet: dont drop packet but consume it
authorEric Dumazet <edumazet@google.com>
Thu, 19 Apr 2012 02:24:42 +0000 (02:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2012 18:23:55 +0000 (14:23 -0400)
commitabc4e4fa29eb81f874d4ef3c6bafcf5ad6f90b07
tree1d476a7f11b1e670b55fa7f6a09a4d7defafb347
parentab185d7b2551e9b8d946a657ddccd86d192bebd1
packet: dont drop packet but consume it

When we need to clone 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>
net/packet/af_packet.c