]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitb8e1f9b5c37e77cc8f978a58859b35fe5edd5542
tree3c39da61f10eeb8b8e200ec68770128f1b57f25d
parent790a35328991b01181ff5624bdb084053b6fac54
[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