diff options
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r-- | net/sunrpc/svcsock.c | 2 |
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, | |||
1425 | return ERR_PTR(-EINVAL); | 1425 | return ERR_PTR(-EINVAL); |
1426 | } | 1426 | } |
1427 | 1427 | ||
1428 | error = sock_create_kern(family, type, protocol, &sock); | 1428 | error = __sock_create(net, family, type, protocol, &sock, 1); |
1429 | if (error < 0) | 1429 | if (error < 0) |
1430 | return ERR_PTR(error); | 1430 | return ERR_PTR(error); |
1431 | 1431 | ||