tipc: make tipc socket support net namespace
[cascardo/linux.git] / net / tipc / net.c
index 7548ba8..44ccf47 100644 (file)
@@ -117,7 +117,7 @@ int tipc_net_start(struct net *net, u32 addr)
 
        tipc_own_addr = addr;
        tipc_named_reinit();
-       tipc_sk_reinit();
+       tipc_sk_reinit(net);
        res = tipc_bclink_init(net);
        if (res)
                return res;