diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-08-29 14:46:41 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-30 11:14:06 -0700 |
| commit | f17bf505ff89595df5147755e51441632a5dc563 (patch) | |
| tree | e38eeb8667c759140bd3e7a656d27006e3b27bc9 /include/net/ip.h | |
| parent | b056b4cd9178f7a1d5d57f7b48b073c29729ddaa (diff) | |
| download | linux-next-f17bf505ff89595df5147755e51441632a5dc563.tar.gz linux-next-f17bf505ff89595df5147755e51441632a5dc563.zip | |
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>
Diffstat (limited to 'include/net/ip.h')
| -rw-r--r-- | include/net/ip.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index d3bca4e83979..1ee472fa8b37 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -797,9 +797,6 @@ static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) bool icmp_global_allow(struct net *net); void icmp_global_consume(struct net *net); -extern int sysctl_icmp_msgs_per_sec; -extern int sysctl_icmp_msgs_burst; - #ifdef CONFIG_PROC_FS int ip_misc_proc_init(void); #endif |
