diff --git a/net/socket.c b/net/socket.c index d6f27ed9ba6c42582710b24506fb345c7189e88f..1bc4167e0da8da20c2364c14ea48b73a0cca28df 100644 --- a/net/socket.c +++ b/net/socket.c @@ -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) {