diff options
Diffstat (limited to 'net/tipc/netlink.c')
-rw-r--r-- | net/tipc/netlink.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ 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); |