diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 9dff31c9b799..4f3e0f0c156b 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -1252,7 +1252,7 @@ static int __sock_create(struct net *net, int family, int type, int protocol, | |||
1252 | /* Now protected by module ref count */ | 1252 | /* Now protected by module ref count */ |
1253 | rcu_read_unlock(); | 1253 | rcu_read_unlock(); |
1254 | 1254 | ||
1255 | err = pf->create(net, sock, protocol); | 1255 | err = pf->create(net, sock, protocol, kern); |
1256 | if (err < 0) | 1256 | if (err < 0) |
1257 | goto out_module_put; | 1257 | goto out_module_put; |
1258 | 1258 | ||