From: Inaky Perez-Gonzalez Date: Sun, 21 Dec 2008 00:57:37 +0000 (-0800) Subject: genetlink: export genl_unregister_mc_group() X-Git-Tag: v2.6.29-rc1~182^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3efb40c2c6eea315abcf19239c15d088e2498299;p=pandora-kernel.git 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 Acked-by: Johannes Berg Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed