af_netlink: drop_monitor/dropwatch friendly
authorEric Dumazet <edumazet@google.com>
Sun, 22 Apr 2012 21:30:29 +0000 (21:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2012 04:35:14 +0000 (00:35 -0400)
commitbfb253c9b277acd9f85b1886ff82b1dd5fbff2ae
tree6239aa3416d30085e6043c42a5fff8d8fa6ecdc0
parent658cb354edf0f16cc5a2a2bda3ec5be1bba25e6d
af_netlink: drop_monitor/dropwatch friendly

Need to consume_skb() instead of kfree_skb() in netlink_dump() and
netlink_unicast_kernel() to avoid false dropwatch positives.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c