X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Ftipc%2Fcore.c;h=be1c9fa60b09dc713155c94e7bf6bcc6366fc7aa;hb=6a16dda86ebbcfe690c753c3fb469b4f9ad5a5ef;hp=935205e6bcfe6da614fcc6c67e77754dc3a484fa;hpb=e0427428db79f7d6648f27985c775b3f6f5db28b;p=firefly-linux-kernel-4.4.55.git diff --git a/net/tipc/core.c b/net/tipc/core.c index 935205e6bcfe..be1c9fa60b09 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c @@ -152,11 +152,11 @@ out_netlink: static void __exit tipc_exit(void) { tipc_bearer_cleanup(); + unregister_pernet_subsys(&tipc_net_ops); tipc_netlink_stop(); tipc_netlink_compat_stop(); tipc_socket_stop(); tipc_unregister_sysctl(); - unregister_pernet_subsys(&tipc_net_ops); pr_info("Deactivated\n"); }