]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/net: packetdrill: add tcp_close_no_rst.pkt
authorEric Dumazet <edumazet@google.com>
Wed, 3 Sep 2025 08:47:19 +0000 (08:47 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Sep 2025 02:13:41 +0000 (19:13 -0700)
commit8bc316cf3a9e235a11f8424e2cfb2ade1baa94ff
treef52ce8d8a4bb437a90c0d27f28ca2f6fbd2ea4d1
parent5f9238530970f2993b23dd67fdaffc552a2d2e98
selftests/net: packetdrill: add tcp_close_no_rst.pkt

This test makes sure we do send a FIN on close()
if the receive queue contains data that was consumed.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Link: https://patch.msgid.link/20250903084720.1168904-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/packetdrill/tcp_close_no_rst.pkt [new file with mode: 0644]