aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-01 07:44:15 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:55:22 -0500
commitd392e49756a99ba51577d265d6db83e3f01c6ac8 (patch)
tree644610d6fc7ab79a9e8a7f76357062759ec8d690 /include/net/net_namespace.h
parent97577e38284f48ca773392e2d401af2f6c95dc08 (diff)
[UNIX]: Move the sysctl_unix_max_dgram_qlen
This will make all the sub-namespaces always use the default value (10) and leave the tuning via sysctl to the init namespace only. Per-namespace tuning is coming. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 235214c4c231..b0cf07519b81 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -38,6 +38,9 @@ struct net {
38 /* List of all packet sockets. */ 38 /* List of all packet sockets. */
39 rwlock_t packet_sklist_lock; 39 rwlock_t packet_sklist_lock;
40 struct hlist_head packet_sklist; 40 struct hlist_head packet_sklist;
41
42 /* unix sockets */
43 int sysctl_unix_max_dgram_qlen;
41}; 44};
42 45
43#ifdef CONFIG_NET 46#ifdef CONFIG_NET