diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-12-01 13:44:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:55:22 +0100 |
commit | d392e49756a99ba51577d265d6db83e3f01c6ac8 (patch) | |
tree | 644610d6fc7ab79a9e8a7f76357062759ec8d690 /include/net/net_namespace.h | |
parent | [UNIX]: Extend unix_sysctl_(un)register prototypes (diff) | |
download | linux-d392e49756a99ba51577d265d6db83e3f01c6ac8.tar.xz linux-d392e49756a99ba51577d265d6db83e3f01c6ac8.zip |
[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.h | 3 |
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 { /* List of all packet sockets. */ rwlock_t packet_sklist_lock; struct hlist_head packet_sklist; + + /* unix sockets */ + int sysctl_unix_max_dgram_qlen; }; #ifdef CONFIG_NET |