]> git.karo-electronics.de Git - linux-beck.git/blobdiff - net/tipc/server.c
tipc: make subscriber server support net namespace
[linux-beck.git] / net / tipc / server.c
index b5bdaf721d70a397a9b4183d144287fa22973982..eadd4ed459051ddc776a82f4f2fcc9fe34ab89cd 100644 (file)
@@ -309,7 +309,7 @@ static struct socket *tipc_create_listen_sock(struct tipc_conn *con)
        struct socket *sock = NULL;
        int ret;
 
-       ret = tipc_sock_create_local(s->type, &sock);
+       ret = tipc_sock_create_local(s->net, s->type, &sock);
        if (ret < 0)
                return NULL;
        ret = kernel_setsockopt(sock, SOL_TIPC, TIPC_IMPORTANCE,