mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04: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
|
@ -18,7 +18,7 @@ static ctl_table unix_table[] = {
|
|||
{
|
||||
.ctl_name = NET_UNIX_MAX_DGRAM_QLEN,
|
||||
.procname = "max_dgram_qlen",
|
||||
.data = &sysctl_unix_max_dgram_qlen,
|
||||
.data = &init_net.sysctl_unix_max_dgram_qlen,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue