aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hp.com>2006-08-31 18:03:02 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:18:41 -0400
commit7a42c2175703f54a3640f25dc078c8190a4f904e (patch)
treeac04b16a3c0e357f31db886ac73d2ccc2a3d3642 /net/socket.c
parent28a7b327b8cc8ea35662d360d3d11d60195debc9 (diff)
[NET]: Change somaxconn sysctl to __read_mostly
Signed-off-by: Brian Haley <brian.haley@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
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)
1337 * ready for listening. 1337 * ready for listening.
1338 */ 1338 */
1339 1339
1340int sysctl_somaxconn = SOMAXCONN; 1340int sysctl_somaxconn __read_mostly = SOMAXCONN;
1341 1341
1342asmlinkage long sys_listen(int fd, int backlog) 1342asmlinkage long sys_listen(int fd, int backlog)
1343{ 1343{