diff options
| author | xu xin <xu.xin16@zte.com.cn> | 2022-01-04 10:59:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-13 12:50:42 +0100 |
| commit | 686792179f2077350186a1375a8750e8be1940f7 (patch) | |
| tree | e3bbc44dc84f294a7abe8fc8771cf7faf85de26a /include | |
| parent | 4561343d2b6c04311ab61cd7837fd63fdf396d53 (diff) | |
| download | linux-686792179f2077350186a1375a8750e8be1940f7.tar.gz linux-686792179f2077350186a1375a8750e8be1940f7.tar.bz2 linux-686792179f2077350186a1375a8750e8be1940f7.zip | |
Namespaceify min_pmtu sysctl
[ Upstream commit 1de6b15a434c0068253fea5d719f71143e7e3a79 ]
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>
Stable-dep-of: 139512191bd0 ("ipv4: use RCU protection in __ip_rt_update_pmtu()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/netns/ipv4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index d60a10cfc382..16515c04a46a 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -84,6 +84,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; |
