linux-hardened/net/netlink
Inaky Perez-Gonzalez 3efb40c2c6 genetlink: export genl_unregister_mc_group()
Add an EXPORT_SYMBOL() to genl_unregister_mc_group(), to allow
unregistering groups on the run. EXPORT_SYMBOL_GPL() is not used as
the rest of the functions exported by this module (eg:
genl_register_mc_group) are also not _GPL().

Cleanup is currently done when unregistering a family, but there is
no way to unregister a single multicast group due to that function not
being exported. Seems to be a mistake as it is documented as for
external consumption.

This is needed by the WiMAX stack to be able to cleanup unused mc
groups.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07 10:00:17 -08:00
..
af_netlink.c net: Make sure BHs are disabled in sock_prot_inuse_add() 2008-11-24 14:05:22 -08:00
attr.c netlink: allow empty nested attributes 2008-11-28 03:05:19 -08:00
genetlink.c genetlink: export genl_unregister_mc_group() 2009-01-07 10:00:17 -08:00
Makefile [NETLINK]: Generic netlink family 2005-11-10 02:26:41 +01:00