]> git.baikalelectronics.ru Git - kernel.git/commit
net: dont drop packet but consume it
authorEric Dumazet <edumazet@google.com>
Thu, 19 Apr 2012 02:24:53 +0000 (02:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2012 18:23:55 +0000 (14:23 -0400)
commitcc9a70f08f77225d289823b7505b5a7aef849b4d
treef6d3ad4e841244c5575754d57d5f1d5d4596718d
parent6b3b793a13d0b5d9292d692e4318283cf01b50d6
net: 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/core/skbuff.c