]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftest: packetdrill: Import opt34/icmp-before-accept.pkt.
authorKuniyuki Iwashima <kuniyu@google.com>
Sat, 27 Sep 2025 21:29:46 +0000 (21:29 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:41:39 +0000 (18:41 -0700)
commita8b1750e68f5fd6fe4bdff6f5d59d157c87a9b99
tree76b738a37dc72fbcb1addbddaf687a0ab7c44095
parent5ed080f85a33ad76288711c64ec2d8699de65ff9
selftest: packetdrill: Import opt34/icmp-before-accept.pkt.

This imports the non-experimental version of icmp-before-accept.pkt.

This file tests the scenario where an ICMP unreachable packet for a
not-yet-accept()ed socket changes its state to TCP_CLOSE, but the
SYN data must be read without error, and the following read() returns
EHOSTUNREACH.

Note that this test support only IPv4 as icmp is used.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250927213022.1850048-9-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/packetdrill/tcp_fastopen_server_icmp-before-accept.pkt [new file with mode: 0644]