From b70e4f45a8d8125e4f420c62e71688b8a766689a Mon Sep 17 00:00:00 2001 From: Jon Maloy Date: Tue, 10 Jan 2006 18:54:24 +0000 Subject: [TIPC} Fixed bug in disc_timeout() Signed-off-by: Jon Maloy --- net/tipc/netlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/tipc/netlink.c') 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); -- cgit v1.2.3