aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 5cac1c707755..ee3cd280c76e 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1146,7 +1146,7 @@ call_kill:
1146} 1146}
1147EXPORT_SYMBOL(sock_wake_async); 1147EXPORT_SYMBOL(sock_wake_async);
1148 1148
1149static int __sock_create(struct net *net, int family, int type, int protocol, 1149int __sock_create(struct net *net, int family, int type, int protocol,
1150 struct socket **res, int kern) 1150 struct socket **res, int kern)
1151{ 1151{
1152 int err; 1152 int err;
@@ -1258,6 +1258,7 @@ out_release:
1258 rcu_read_unlock(); 1258 rcu_read_unlock();
1259 goto out_sock_release; 1259 goto out_sock_release;
1260} 1260}
1261EXPORT_SYMBOL(__sock_create);
1261 1262
1262int sock_create(int family, int type, int protocol, struct socket **res) 1263int sock_create(int family, int type, int protocol, struct socket **res)
1263{ 1264{