]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/tipc/server.c
tipc: name tipc name table support net namespace
[karo-tx-linux.git] / net / tipc / server.c
index 869eb09057544f70c36d05efbcfb8fb91da4a75a..b5bdaf721d70a397a9b4183d144287fa22973982 100644 (file)
@@ -256,7 +256,8 @@ static int tipc_receive_from_sock(struct tipc_conn *con)
                goto out_close;
        }
 
-       s->tipc_conn_recvmsg(con->conid, &addr, con->usr_data, buf, ret);
+       s->tipc_conn_recvmsg(sock_net(con->sock->sk), con->conid, &addr,
+                            con->usr_data, buf, ret);
 
        kmem_cache_free(s->rcvbuf_cache, buf);