]> www.infradead.org Git - users/willy/xarray.git/commit
icmp: icmp_msgs_per_sec and icmp_msgs_burst sysctls become per netns
authorEric Dumazet <edumazet@google.com>
Thu, 29 Aug 2024 14:46:41 +0000 (14:46 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 30 Aug 2024 18:14:06 +0000 (11:14 -0700)
commitf17bf505ff89595df5147755e51441632a5dc563
treee38eeb8667c759140bd3e7a656d27006e3b27bc9
parentb056b4cd9178f7a1d5d57f7b48b073c29729ddaa
icmp: icmp_msgs_per_sec and icmp_msgs_burst sysctls become per netns

Previous patch made ICMP rate limits per netns, it makes sense
to allow each netns to change the associated sysctl.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20240829144641.3880376-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ip.h
include/net/netns/ipv4.h
net/ipv4/icmp.c
net/ipv4/sysctl_net_ipv4.c