projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c04ddb
)
[GENETLINK]: Correctly report errors while registering a multicast group
author
Thomas Graf
<tgraf@suug.ch>
Tue, 24 Jul 2007 22:34:53 +0000
(15:34 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 Jul 2007 22:34:53 +0000
(15:34 -0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/genetlink.c
patch
|
blob
|
history
diff --git
a/net/netlink/genetlink.c
b/net/netlink/genetlink.c
index 457a2873bb03174a9b7cbb825cb4a3b0807d997d..8c11ca4a2121692614ac43064c2718695d11bf6b 100644
(file)
--- a/
net/netlink/genetlink.c
+++ b/
net/netlink/genetlink.c
@@
-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);