diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-07-23 08:27:24 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-23 08:27:24 -0700 |
| commit | 1087ba5497ae84281750da0020c30a9074782714 (patch) | |
| tree | 0ded6bc648645e415f079ffe6424bf4850212bca /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9dfd800b374c38681364d4b3606a8b831d1478e3 (diff) | |
| parent | 7bb18355e5996a70b15ad571f5597e13d61af00d (diff) | |
Merge branch 'tcp-validate-rst-sequence-in-syn-received'
Yuxiang Yang says:
====================
tcp: validate RST sequence in SYN-RECEIVED
The SYN-RECEIVED request-socket path accepts any in-window RST and
removes the request, even when SEG.SEQ does not exactly match RCV.NXT.
RFC 9293 requires a challenge ACK for a non-exact in-window RST.
Patch 1 applies the RFC 5961 sequence check to request sockets and shares
the per-netns challenge ACK quota with the established-socket path.
Patch 2 adds a compact packetdrill regression test for exact, non-exact,
RST|ACK, and out-of-window cases.
The implementation was tested with a separate raw-socket A/B harness on
IPv4 and IPv6: the unpatched kernel passed 4/12 cases and the patched
kernel passed 12/12. The packetdrill test fails on the unpatched kernel
and passes on the patched kernel for IPv4, IPv6, and IPv4-mapped IPv6
under QEMU/TCG.
====================
Link: https://patch.msgid.link/20260717081443.809393-1-yangyx22@mails.tsinghua.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
