projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28a7b32
)
[NET]: Change somaxconn sysctl to __read_mostly
author
Brian Haley
<brian.haley@hp.com>
Thu, 31 Aug 2006 22:03:02 +0000
(15:03 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/socket.c
b/net/socket.c
index
d6f27ed
..
1bc4167
100644
(file)
--- 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.
*/
* 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)
{