diff options
author | xu xin <xu.xin16@zte.com.cn> | 2022-01-26 07:10:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 13:34:09 +0000 |
commit | 2e9589ff809e9232f689acd51da73390e135146a (patch) | |
tree | 129f1811c65e0b710359b349d8c23e0b9869f6c0 /include/net/netns | |
parent | 349fdca687195b6636081790f8831d9b88fab7de (diff) | |
download | linux-2e9589ff809e9232f689acd51da73390e135146a.tar.bz2 |
ipv4: Namespaceify min_adv_mss sysctl knob
Different netns has different requirement on the setting of min_adv_mss
sysctl which the advertised MSS will be never lower than.
Enable min_adv_mss to be configured per network namespace.
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 94568e022001..f0687867b5cd 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -83,6 +83,7 @@ struct netns_ipv4 { u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; + int ip_rt_min_advmss; struct local_ports ip_local_ports; |