commit | b70e4f45a8d8125e4f420c62e71688b8a766689a | [log] [tgz] |
---|---|---|
author | Jon Maloy <jon.maloy@ericsson.com> | Tue Jan 10 18:54:24 2006 +0000 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu Jan 12 14:06:33 2006 -0800 |
tree | 2fa8f52ab2665b92008cfc8b88937dda8a7542f5 | |
parent | 1dba9743337cabacea79e47ed6d709e636c5ed47 [diff] [blame] |
[TIPC} Fixed bug in disc_timeout() Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c index 08b974e..2d778df 100644 --- a/net/tipc/netlink.c +++ b/net/tipc/netlink.c
@@ -80,6 +80,8 @@ int netlink_start(void) { + + if (genl_register_family(&family)) goto err; @@ -88,7 +90,7 @@ if (genl_register_ops(&family, &ops)) goto err_unregister; - return 0; + return 0; err_unregister: genl_unregister_family(&family);