diff options
| author | Rishikesh Jethwani <rjethwani@purestorage.com> | 2026-07-09 16:44:36 -0600 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-21 14:50:50 -0700 |
| commit | eaa39f9f8ac8c1d032cd26b9cd572804e9d7683f (patch) | |
| tree | 96bc181eb08057b9d6af57845f84d25942a06ef6 /tools/perf/scripts/python/flamegraph.py | |
| parent | b65352a1bac64442ad95e64f385b40ccb9f1b0db (diff) | |
tls: device: push pending open record on splice EOF
On kTLS device-offload sockets, sendfile() with count > EOF can reach
->splice_eof() with a fully assembled but still-open TLS record left
pending. tls_device_splice_eof() only flushes partially sent records,
so an abrupt close() can drop the final record and the peer receives
a short file.
Fix tls_device_splice_eof() to also push pending open records.
This matches the software path, where splice EOF already flushes
pending open records.
Fixes: d4c1e80b0d1b ("tls/device: Use splice_eof() to flush")
Link: https://lore.kernel.org/netdev/CAMPsyauZ+jzG9AysO0FWv6ZY0kvCUpjX_U7o=oOjCuOQ87BCgg@mail.gmail.com/
Reported-by: Nils Juenemann <nils.juenemann@gmail.com>
Signed-off-by: Rishikesh Jethwani <rjethwani@purestorage.com>
Tested-by: Nils Juenemann <nils.juenemann@gmail.com>
Link: https://patch.msgid.link/20260709224436.1608993-2-rjethwani@purestorage.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
