]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftest: packetdrill: add tcp_timestamping_tcp_tx_timestamp_bug.pkt
authorEric Dumazet <edumazet@google.com>
Tue, 27 Jan 2026 12:38:28 +0000 (12:38 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Jan 2026 03:35:39 +0000 (19:35 -0800)
commit6080d525aba8a6cab9fe4b841ca1fab48a2969c6
treebe9a6ae716b971ccdb97844b113d704fc2e4f46d
parent838eb9687691d29915797a885b861fd09353386e
selftest: packetdrill: add tcp_timestamping_tcp_tx_timestamp_bug.pkt

Test tcp_tx_timestamp() behavior after ("tcp: tcp_tx_timestamp()
must look at the rtx queue").

Without the fix, this new test fails like this:

tcp_timestamping_tcp_tx_timestamp_bug.pkt:55: runtime error in recvmsg call: Expected result 0 but got -1 with errno 11 (Resource temporarily unavailable)

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