[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070724094427.GC9285@postel.suug.ch>
Date: Tue, 24 Jul 2007 11:44:27 +0200
From: Thomas Graf <tgraf@...g.ch>
To: davem@...emloft.net
Cc: johannes@...solutions.net, netdev@...r.kernel.org
Subject: [GENETLINK]: Correctly report errors while registering a multicast group
Signed-off-by: Thomas Graf <tgraf@...g.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);
-
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