diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-02-13 18:51:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-02-13 18:51:24 -0500 |
commit | e200bd8065e4db6297cd8db071a9188cf9aa6b56 (patch) | |
tree | 80c9ced19aa5a0fa0cc9be69d34ca45cf92394ad /net/socket.c | |
parent | 178a3259f2508e786fb1bd6538365a167cee35c1 (diff) |
[NETLINK] genetlink: Fix bugs spotted by Andrew Morton.
- panic() doesn't return.
- Don't forget to unlock on genl_register_family() error path
- genl_rcv_msg() is called via pointer so there's no point in declaring it
`inline'.
Notes:
genl_ctrl_event() ignores the genlmsg_multicast() return value.
lots of things ignore the genl_ctrl_event() return value.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions