tipc: name tipc name table support net namespace
[deliverable/linux.git] / net / tipc / server.c
index a538a02f869b0745000ab117d80791e6d9262c69..b5bdaf721d70a397a9b4183d144287fa22973982 100644 (file)
@@ -35,6 +35,7 @@
 
 #include "server.h"
 #include "core.h"
+#include "socket.h"
 #include <net/sock.h>
 
 /* Number of messages to send before rescheduling */
@@ -255,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);
 
This page took 0.029284 seconds and 5 git commands to generate.