igmp: add __ip_mc_{join|leave}_group()
authorEric Dumazet <edumazet@google.com>
Tue, 17 Feb 2015 11:19:24 +0000 (03:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Feb 2015 20:24:04 +0000 (15:24 -0500)
commit959d10f6bbf6ab5b8813c4e37540a2e43ca2ae96
treee6175dbec05d9cbc0cdcb4c7c6fa10030d25877f
parent64bea46e3ff28701aa34be48b93c7907ebbdb31e
igmp: add __ip_mc_{join|leave}_group()

There is a need to perform igmp join/leave operations while RTNL is
held.

Make ip_mc_{join|leave}_group() wrappers around
__ip_mc_{join|leave}_group() to avoid the proliferation of work queues.

For example, vxlan_igmp_join() could possibly be removed.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/igmp.h
net/ipv4/igmp.c