]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
igmp v6: add __ipv6_sock_mc_join and __ipv6_sock_mc_drop
authorMadhu Challa <challa@noironetworks.com>
Wed, 25 Feb 2015 17:58:34 +0000 (09:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 21:25:24 +0000 (16:25 -0500)
commit46a4dee074b58c4256dbf6c2dbf199c372f85b04
tree56d84988e3600df2dbe3b4f4be4df0ae01d94929
parent723b8e460d87e957f251dc5764f4ab86af6ab44e
igmp v6: add __ipv6_sock_mc_join and __ipv6_sock_mc_drop

Based on the igmp v4 changes from Eric Dumazet.
959d10f6bbf6("igmp: add __ip_mc_{join|leave}_group()")

These changes are needed to perform igmp v6 join/leave while
RTNL is held.

Make ipv6_sock_mc_join and ipv6_sock_mc_drop wrappers around
__ipv6_sock_mc_join and  __ipv6_sock_mc_drop to avoid
proliferation of work queues.

Signed-off-by: Madhu Challa <challa@noironetworks.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/mcast.c