summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMaximilian Immanuel Brandtner <maxbr@linux.ibm.com>2026-08-13 14:09:44 +0200
committerJakub Kicinski <kuba@kernel.org>2026-08-17 18:11:43 -0700
commit9466ef3ec972bee926731a766f73533dec590065 (patch)
tree71ac67149baa6aa3dd9c4471c5ca7e7446fa4806 /tools/perf/scripts/python/bin/stackcollapse-record
parent7b196e27ad58e612ad1c04b347d0c2135045aa14 (diff)
tls: fix RX desync on overlapping skbs
The TCP receive queue can hold adjacent skbs whose sequence ranges overlap. The tls fast-path reads the record header with skb_copy_bits() by byte offset, which assumes skbs do not overlap, so a header split across the overlap is misread and the connection aborts (-EMSGSIZE/-EINVAL). tls_strp_check_queue_ok() detects such overlaps but only ran after the header was parsed, never covering the header itself. Observed with parallel kTLS connections on: - ConnectX-7 + IPsec crypto offload + GRO - VirtIO (8 queues) + GRO Fixes: 84c61fe1a75b ("tls: rx: do not use the standard strparser") Signed-off-by: Maximilian Immanuel Brandtner <maxbr@linux.ibm.com> Link: https://patch.msgid.link/20260813121337.3300688-1-maxbr@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions