mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
[NET]: Change somaxconn sysctl to __read_mostly
Signed-off-by: Brian Haley <brian.haley@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
28a7b327b8
commit
7a42c21757
@ -1337,7 +1337,7 @@ asmlinkage long sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen)
|
||||
* ready for listening.
|
||||
*/
|
||||
|
||||
int sysctl_somaxconn = SOMAXCONN;
|
||||
int sysctl_somaxconn __read_mostly = SOMAXCONN;
|
||||
|
||||
asmlinkage long sys_listen(int fd, int backlog)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user