Commit 79d310d0 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller

[GENETLINK]: Correctly report errors while registering a multicast group

Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2c04ddb7
......@@ -196,7 +196,7 @@ int genl_register_mc_group(struct genl_family *family,
genl_ctrl_event(CTRL_CMD_NEWMCAST_GRP, grp);
out:
genl_unlock();
return 0;
return err;
}
EXPORT_SYMBOL(genl_register_mc_group);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment