lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 17 Apr 2008 12:54:01 -0700
From:	Inaky Perez-Gonzalez <inaky@...ux.intel.com>
To:	Thomas Graf <tgraf@...g.ch>,
	Johannes Berg <johannes@...solutions.net>
Cc:	netdev@...r.kernel.org
Subject: [PATCH] genetlink: export genl_unregister_mc_group()

Add an EXPORT_SYMBOL() to genl_unregister_mc_group(), to allow
unregistering groups on the run. 

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.

Signed-off-by: Inaky Perez-Gonzalez <inaky@...ux.intel.com>

---
diff -r ec7efeb20531 net/netlink/genetlink.c
--- a/net/netlink/genetlink.c	Tue Feb 12 09:49:05 2008 -0800
+++ b/net/netlink/genetlink.c	Thu Apr 17 12:50:29 2008 -0700
@@ -225,6 +225,7 @@ void genl_unregister_mc_group(struct gen
 	__genl_unregister_mc_group(family, grp);
 	genl_unlock();
 }
+EXPORT_SYMBOL(genl_unregister_mc_group);
 
 static void genl_unregister_mc_groups(struct genl_family *family)
 {
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ