summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorxu xin <xu.xin16@zte.com.cn>2022-01-04 13:59:34 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-04 15:40:22 +0300
commit1de6b15a434c0068253fea5d719f71143e7e3a79 (patch)
treefa34a0bda23d2558e04bb14a9bfd1751722becf0 /include/net/netns
parent7d714ff14d6427d6d4898e47d439d9e530616aac (diff)
downloadlinux-1de6b15a434c0068253fea5d719f71143e7e3a79.tar.xz
Namespaceify min_pmtu sysctl
This patch enables the sysctl min_pmtu to be configured per net 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index 6c5b2efc4f17..1ecbf82b07f1 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -85,6 +85,8 @@ struct netns_ipv4 {
int sysctl_icmp_ratelimit;
int sysctl_icmp_ratemask;
+ u32 ip_rt_min_pmtu;
+
struct local_ports ip_local_ports;
u8 sysctl_tcp_ecn;