aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r--net/tipc/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c
index de18aacf3d64..38633e5f8a7d 100644
--- a/net/tipc/net.c
+++ b/net/tipc/net.c
@@ -117,7 +117,7 @@ int tipc_net_start(struct net *net, u32 addr)
117 tipc_own_addr = addr; 117 tipc_own_addr = addr;
118 tipc_named_reinit(); 118 tipc_named_reinit();
119 tipc_sk_reinit(); 119 tipc_sk_reinit();
120 res = tipc_bclink_init(); 120 res = tipc_bclink_init(net);
121 if (res) 121 if (res)
122 return res; 122 return res;
123 123
@@ -140,7 +140,7 @@ void tipc_net_stop(struct net *net)
140 tipc_own_addr); 140 tipc_own_addr);
141 rtnl_lock(); 141 rtnl_lock();
142 tipc_bearer_stop(net); 142 tipc_bearer_stop(net);
143 tipc_bclink_stop(); 143 tipc_bclink_stop(net);
144 tipc_node_stop(net); 144 tipc_node_stop(net);
145 rtnl_unlock(); 145 rtnl_unlock();
146 146