netlink: implement unbind to netlink_setsockopt NETLINK_DROP_MEMBERSHIP
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 23 Apr 2014 01:31:55 +0000 (21:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 01:42:26 +0000 (21:42 -0400)
commit7774d5e03f4a41ec7c1e736acc108f112003bb4a
treed8f3f9db89b1660d79491885d0f757c95a582414
parent4f520900522fd596e336c07e9aafd5b7a9564235
netlink: implement unbind to netlink_setsockopt NETLINK_DROP_MEMBERSHIP

Call the per-protocol unbind function rather than bind function on
NETLINK_DROP_MEMBERSHIP in netlink_setsockopt().

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c