commit | 79d310d01ec2a55e0ac1810aee56886ebee58c53 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Tue Jul 24 15:34:53 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 24 15:34:53 2007 -0700 |
tree | 80c4e2ab418c921bb7a492a8e6fd168825784722 | |
parent | 2c04ddb707b4d50c314186249f466b6720ee4289 [diff] [blame] |
[GENETLINK]: Correctly report errors while registering a multicast group Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index 457a287..8c11ca4 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c
@@ -196,7 +196,7 @@ genl_ctrl_event(CTRL_CMD_NEWMCAST_GRP, grp); out: genl_unlock(); - return 0; + return err; } EXPORT_SYMBOL(genl_register_mc_group);