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 79e5382fd110..9b5c917f8a6b 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -1375,7 +1375,7 @@ asmlinkage long sys_listen(int fd, int backlog) | |||
1375 | 1375 | ||
1376 | sock = sockfd_lookup_light(fd, &err, &fput_needed); | 1376 | sock = sockfd_lookup_light(fd, &err, &fput_needed); |
1377 | if (sock) { | 1377 | if (sock) { |
1378 | somaxconn = sock_net(sock->sk)->sysctl_somaxconn; | 1378 | somaxconn = sock_net(sock->sk)->core.sysctl_somaxconn; |
1379 | if ((unsigned)backlog > somaxconn) | 1379 | if ((unsigned)backlog > somaxconn) |
1380 | backlog = somaxconn; | 1380 | backlog = somaxconn; |
1381 | 1381 | ||