]> err.no Git - linux-2.6/commitdiff
[NET]: Change somaxconn sysctl to __read_mostly
authorBrian Haley <brian.haley@hp.com>
Thu, 31 Aug 2006 22:03:02 +0000 (15:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:41 +0000 (15:18 -0700)
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c

index d6f27ed9ba6c42582710b24506fb345c7189e88f..1bc4167e0da8da20c2364c14ea48b73a0cca28df 100644 (file)
@@ -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)
 {