From: Brian Haley Date: Thu, 31 Aug 2006 22:03:02 +0000 (-0700) Subject: [NET]: Change somaxconn sysctl to __read_mostly X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a42c2175703f54a3640f25dc078c8190a4f904e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [NET]: Change somaxconn sysctl to __read_mostly Signed-off-by: Brian Haley Signed-off-by: David S. Miller --- diff --git a/net/socket.c b/net/socket.c index d6f27ed9ba6c..1bc4167e0da8 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) {