netlink: Fix skb ref counting.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 29 Apr 2013 20:52:01 +0000 (20:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2013 18:57:03 +0000 (14:57 -0400)
commitae6164adeb559db1828d4abd917971b61130f72e
tree04e5b05f5a722f58da2d7ea44ebf38b97f29d1e2
parent0dcffd09641f3abb21ac5cabc61542ab289d1a3c
netlink: Fix skb ref counting.

Commit f9c2288837ba072b21dba955f04a4c97eaa77b1e (netlink:
implement memory mapped recvmsg) increamented skb->users
ref count twice for a dump op which does not look right.

Following patch fixes that.

CC: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c