]> git.baikalelectronics.ru Git - kernel.git/commit
[NET] sysctl: make sysctl_somaxconn per-namespace
authorPavel Emelyanov <xemul@openvz.org>
Sat, 8 Dec 2007 08:12:33 +0000 (00:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:57 +0000 (14:56 -0800)
commit916c84fb472915c40842a808a75e26ab60d73da9
tree3c39da61f10eeb8b8e200ec68770128f1b57f25d
parentb7f1734de9d1ee6b731e6f719aa43d7737bc3abd
[NET] sysctl: make sysctl_somaxconn per-namespace

Just move the variable on the struct net and adjust
its usage.

Others sysctls from sys.net.core table are more
difficult to virtualize (i.e. make them per-namespace),
but I'll look at them as well a bit later.

Signed-off-by: Pavel Emelyanov <xemul@oenvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/socket.h
include/net/net_namespace.h
net/core/sysctl_net_core.c
net/socket.c