net: skb_share_check() should use consume_skb()
commit47061bc440b90a16d856fb0dba1cffc36427efa4
authorEric Dumazet <edumazet@google.com>
Fri, 3 Aug 2012 20:54:15 +0000 (3 20:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Aug 2012 08:27:57 +0000 (4 01:27 -0700)
tree3fcde7efa87537e085013adc5cfa963701557d6d
parentcc72d100a3f4ba42a9ad02ebe52c0c6c7c496267
net: skb_share_check() should use consume_skb()

In order to avoid false drop_monitor indications, we should
call consume_skb() if skb_clone() was successful.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h