diff options
Diffstat (limited to 'net/tipc/core.c')
| -rw-r--r-- | net/tipc/core.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/net/tipc/core.c b/net/tipc/core.c index 3f4542e0f065..434e70eabe08 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c @@ -109,10 +109,9 @@ static void __net_exit tipc_exit_net(struct net *net)  	struct tipc_net *tn = tipc_net(net);  	tipc_detach_loopback(net); +	tipc_net_stop(net);  	/* Make sure the tipc_net_finalize_work() finished */  	cancel_work_sync(&tn->work); -	tipc_net_stop(net); -  	tipc_bcast_stop(net);  	tipc_nametbl_stop(net);  	tipc_sk_rht_destroy(net); |