mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[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>
This commit is contained in:
parent
97577e3828
commit
d392e49756
3 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue