]> 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)
commit851ce3e67aa3f32156164014fcd0aa58e5b19a9a
tree6239aa3416d30085e6043c42a5fff8d8fa6ecdc0
parent334b8a2844b8546be42511a11a65f74eb95a8bfa
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