aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c
index b5f1f43ed8f4..9963a0b53a64 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1210,9 +1210,9 @@ int sock_create(int family, int type, int protocol, struct socket **res)
1210} 1210}
1211EXPORT_SYMBOL(sock_create); 1211EXPORT_SYMBOL(sock_create);
1212 1212
1213int sock_create_kern(int family, int type, int protocol, struct socket **res) 1213int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res)
1214{ 1214{
1215 return __sock_create(&init_net, family, type, protocol, res, 1); 1215 return __sock_create(net, family, type, protocol, res, 1);
1216} 1216}
1217EXPORT_SYMBOL(sock_create_kern); 1217EXPORT_SYMBOL(sock_create_kern);
1218 1218