From: Brian Haley Date: Thu, 31 Aug 2006 22:03:02 +0000 (-0700) Subject: [NET]: Change somaxconn sysctl to __read_mostly X-Git-Tag: v2.6.19-rc1~1272^2~85 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a42c2175703f54a3640f25dc078c8190a4f904e;p=linux-2.6 [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 d6f27ed9ba..1bc4167e0d 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) {