提交 79d310d0 编写于 作者: T Thomas Graf 提交者: David S. Miller

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

Signed-off-by: NThomas Graf <tgraf@suug.ch>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册