summaryrefslogtreecommitdiffstats
path: root/net/tipc/netlink.c
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2006-01-10 19:54:24 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-12 23:06:33 +0100
commitb70e4f45a8d8125e4f420c62e71688b8a766689a (patch)
tree2fa8f52ab2665b92008cfc8b88937dda8a7542f5 /net/tipc/netlink.c
parent[TIPC] Use dynamically allocated family id with NETLINK_GENERIC (diff)
downloadlinux-b70e4f45a8d8125e4f420c62e71688b8a766689a.tar.xz
linux-b70e4f45a8d8125e4f420c62e71688b8a766689a.zip
[TIPC} Fixed bug in disc_timeout()
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Diffstat (limited to '')
-rw-r--r--net/tipc/netlink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c
index 08b974ed9109..2d778dfc4492 100644
--- a/net/tipc/netlink.c
+++ b/net/tipc/netlink.c
@@ -80,6 +80,8 @@ static int family_registered = 0;
int netlink_start(void)
{
+
+
if (genl_register_family(&family))
goto err;
@@ -88,7 +90,7 @@ int netlink_start(void)
if (genl_register_ops(&family, &ops))
goto err_unregister;
- return 0;
+ return 0;
err_unregister:
genl_unregister_family(&family);