]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv4: icmp: do not process ICMP_EXT_ECHOREPLY for broadcast/multicast addresses
authorEric Dumazet <edumazet@google.com>
Wed, 26 Feb 2025 18:34:36 +0000 (18:34 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Feb 2025 22:41:33 +0000 (14:41 -0800)
commitdaeb6a8f3b00d3b6f40593d80ab6be4f6d3d968d
tree23622661a31a624e3ea58a5b367a086cff27b2c4
parent8e7e3d97f9a7eb65c98894e6a8d68eb0c49dec4b
ipv4: icmp: do not process ICMP_EXT_ECHOREPLY for broadcast/multicast addresses

There is no point processing ICMP_EXT_ECHOREPLY for routes
which would drop ICMP_ECHOREPLY (RFC 1122 3.2.2.6, 3.2.2.8)

This seems an oversight of the initial implementation.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250226183437.1457318-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/icmp.c