mbox series

[0/2] ipv4: Namespaceify two sysctls related with mtu

Message ID 20220104105739.601448-1-xu.xin16@zte.com.cn (mailing list archive)
Headers show
Series ipv4: Namespaceify two sysctls related with mtu | expand

Message

CGEL Jan. 4, 2022, 10:57 a.m. UTC
From: xu xin <xu.xin16@zte.com.cn>

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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 4, 2022, 12:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue,  4 Jan 2022 10:57:39 +0000 you wrote:
> From: xu xin <xu.xin16@zte.com.cn>
> 
> 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.
> 
> [...]

Here is the summary with links:
  - [1/2] Namespaceify min_pmtu sysctl
    https://git.kernel.org/netdev/net-next/c/1de6b15a434c
  - [2/2] Namespaceify mtu_expires sysctl
    https://git.kernel.org/netdev/net-next/c/1135fad20480

You are awesome, thank you!