diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-12-08 03:12:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:57 -0500 |
commit | b8e1f9b5c37e77cc8f978a58859b35fe5edd5542 (patch) | |
tree | 3c39da61f10eeb8b8e200ec68770128f1b57f25d /include/net/net_namespace.h | |
parent | 790a35328991b01181ff5624bdb084053b6fac54 (diff) |
[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>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index d5936115d972..b62e31fca474 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -39,6 +39,7 @@ struct net { | |||
39 | 39 | ||
40 | /* core sysctls */ | 40 | /* core sysctls */ |
41 | struct ctl_table_header *sysctl_core_hdr; | 41 | struct ctl_table_header *sysctl_core_hdr; |
42 | int sysctl_somaxconn; | ||
42 | 43 | ||
43 | /* List of all packet sockets. */ | 44 | /* List of all packet sockets. */ |
44 | rwlock_t packet_sklist_lock; | 45 | rwlock_t packet_sklist_lock; |