aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorxu xin <xu.xin16@zte.com.cn>2022-01-04 10:59:47 +0000
committerDavid S. Miller <davem@davemloft.net>2022-01-04 12:40:22 +0000
commit1135fad204805518462c1f0caaca6bcd52ba78cf (patch)
treefbe89e578e6454c7591bfef09c6d30181fec1fb4 /include/net
parentNamespaceify min_pmtu sysctl (diff)
downloadlinux-dev-1135fad204805518462c1f0caaca6bcd52ba78cf.tar.xz
linux-dev-1135fad204805518462c1f0caaca6bcd52ba78cf.zip
Namespaceify mtu_expires sysctl
This patch enables the sysctl mtu_expires 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')
-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 1ecbf82b07f1..78557643526e 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -86,6 +86,7 @@ struct netns_ipv4 {
int sysctl_icmp_ratemask;
u32 ip_rt_min_pmtu;
+ int ip_rt_mtu_expires;
struct local_ports ip_local_ports;