netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GENETLINK]: Correctly report errors while registering a multicast group
@ 2007-07-24  9:44 Thomas Graf
  2007-07-24 22:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Graf @ 2007-07-24  9:44 UTC (permalink / raw)
  To: davem; +Cc: johannes, netdev


Signed-off-by: Thomas Graf <tgraf@suug.ch>

Index: net-2.6/net/netlink/genetlink.c
===================================================================
--- net-2.6.orig/net/netlink/genetlink.c	2007-07-23 21:54:35.000000000 +0200
+++ net-2.6/net/netlink/genetlink.c	2007-07-23 21:54:54.000000000 +0200
@@ -196,7 +196,7 @@ int genl_register_mc_group(struct genl_f
 	genl_ctrl_event(CTRL_CMD_NEWMCAST_GRP, grp);
  out:
 	genl_unlock();
-	return 0;
+	return err;
 }
 EXPORT_SYMBOL(genl_register_mc_group);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-24 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24  9:44 [GENETLINK]: Correctly report errors while registering a multicast group Thomas Graf
2007-07-24 22:35 ` David Miller

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).