[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 d6f27ed..1bc4167 100644 (file)
@@ -1337,7 +1337,7 @@ asmlinkage long sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen)
  *     ready for listening.
  */
 
  *     ready for listening.
  */
 
-int sysctl_somaxconn = SOMAXCONN;
+int sysctl_somaxconn __read_mostly = SOMAXCONN;
 
 asmlinkage long sys_listen(int fd, int backlog)
 {
 
 asmlinkage long sys_listen(int fd, int backlog)
 {