[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…
Reference in New Issue