]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: traceroute: Add ICMP extensions tests
authorIdo Schimmel <idosch@nvidia.com>
Mon, 27 Oct 2025 08:22:32 +0000 (10:22 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Oct 2025 01:28:30 +0000 (18:28 -0700)
commit02da595751833a272ce0e30438a544a77eb7c103
tree328b06918578656ea50991e9bf66db774d0327b6
parentd12d04d221f8d928a27a66236228e7501cd4cad5
selftests: traceroute: Add ICMP extensions tests

Test that ICMP extensions are reported correctly when enabled and not
reported when disabled. Test both IPv4 and IPv6 and using different
packet sizes, to make sure trimming / padding works correctly.

Disable ICMP rate limiting (defaults to 1 per-second per-target) so that
the kernel will always generate ICMP errors when needed.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20251027082232.232571-4-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/traceroute.sh