Files
linux/net/ipv4
Eric Dumazet d8d9ef2988 ipv4: icmp: icmpv4_xrlim_allow() optimization if net.ipv4.icmp_ratelimit is zero
If net.ipv4.icmp_ratelimit is zero, we do not have to call
inet_getpeer_v4() and inet_peer_xrlim_allow().

Both can be very expensive under DDOS.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260216142832.3834174-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-02-18 16:46:36 -08:00
..
2025-11-24 19:49:40 -08:00
2025-03-17 13:56:38 +00:00
2025-07-08 13:28:27 +02:00
2021-05-17 15:29:35 -07:00
2025-09-18 08:47:51 +02:00
2026-02-03 15:13:25 +01:00
2025-03-17 13:54:11 +00:00
2025-03-17 13:56:38 +00:00
2026-02-06 20:12:11 -08:00
2022-12-20 03:13:45 +01:00