]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbcf74bc085d272cf61399614c9ebb1e742e4cab2
tree6239aa3416d30085e6043c42a5fff8d8fa6ecdc0
parenteb8a9792e43e60bce0a881ff5e9a30e7ad1d8e20
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