summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcsock.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2010-09-29 16:06:57 +0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 17:19:00 -0400
commit14ec63c3336af7ea5445e0d8f4d26ba3041e40b3 (patch)
treed81dee6a73cb604c90efd8add86e63a143bcd429 /net/sunrpc/svcsock.c
parent721db93a55dad71bb89e7d11cc6be1f180ec3f2d (diff)
downloadblackbird-op-linux-14ec63c3336af7ea5445e0d8f4d26ba3041e40b3.tar.gz
blackbird-op-linux-14ec63c3336af7ea5445e0d8f4d26ba3041e40b3.zip
sunrpc: Create sockets in net namespaces
The context is already known in all the sock_create callers. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r--net/sunrpc/svcsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index 559338527f47..88de3d093165 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -1425,7 +1425,7 @@ static struct svc_xprt *svc_create_socket(struct svc_serv *serv,
return ERR_PTR(-EINVAL);
}
- error = sock_create_kern(family, type, protocol, &sock);
+ error = __sock_create(net, family, type, protocol, &sock, 1);
if (error < 0)
return ERR_PTR(error);
OpenPOWER on IntegriCloud