[PATCH 0/2] ipv4: Namespaceify two sysctls related with mtu
From: cgel . zte
Date: Tue Jan 04 2022 - 05:57:48 EST
From: xu xin <xu.xin16@xxxxxxxxxx>
The following patch series enables the min_pmtu and mtu_expires to
be visible and configurable per net namespace. Different namespace
application might have different requirements on the setting of
min_pmtu and mtu_expires.
If these two patches are applied, inside a net namespace we create,
we can see two more sysctls under /proc/sys/net/ipv4/route:
1. min_pmtu
2. mtu_expires
where min_pmtu and mtu_expires are configurable.
xu xin (2):
namespaceify-min-pmtu
Namespaceify pmtu_expires
xu xin (2):
Namespaceify min_pmtu sysctl
Namespaceify mtu_expires sysctl
include/net/netns/ipv4.h | 3 ++
net/ipv4/route.c | 74 ++++++++++++++++++++++++++--------------
2 files changed, 51 insertions(+), 26 deletions(-)
--
2.25.1