Skip to content

Commit

Permalink
[NET]: Change somaxconn sysctl to __read_mostly
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Haley <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Brian Haley authored and David S. Miller committed Sep 22, 2006
1 parent 28a7b32 commit 7a42c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7a42c21

Please sign in to comment.