netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Inaky Perez-Gonzalez <inaky@linux.intel.com>
To: Thomas Graf <tgraf@suug.ch>, Johannes Berg <johannes@sipsolutions.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH] genetlink: export genl_unregister_mc_group()
Date: Thu, 17 Apr 2008 12:54:01 -0700	[thread overview]
Message-ID: <200804171254.01950.inaky@linux.intel.com> (raw)

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@linux.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)
 {

             reply	other threads:[~2008-04-17 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 19:54 Inaky Perez-Gonzalez [this message]
2008-04-17 21:26 ` [PATCH] genetlink: export genl_unregister_mc_group() David Miller
2008-04-18  5:52   ` Inaky Perez-Gonzalez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804171254.01950.inaky@linux.intel.com \
    --to=inaky@linux.intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=netdev@vger.kernel.org \
    --cc=tgraf@suug.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).