aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorxu xin <xu.xin16@zte.com.cn>2022-01-26 07:10:58 +0000
committerDavid S. Miller <davem@davemloft.net>2022-01-27 13:34:09 +0000
commit2e9589ff809e9232f689acd51da73390e135146a (patch)
tree129f1811c65e0b710359b349d8c23e0b9869f6c0 /include/net/netns
parentMerge branch 'mvneta-mac_select_pcs' (diff)
downloadlinux-dev-2e9589ff809e9232f689acd51da73390e135146a.tar.xz
linux-dev-2e9589ff809e9232f689acd51da73390e135146a.zip
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.h1
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;