diff options
author | David Howells <[email protected]> | 2023-06-07 19:19:12 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-08 19:40:30 -0700 |
commit | d4c1e80b0d1bacbbca5184f122b9893c5920c598 (patch) | |
tree | 7c43ae2ca0148883ac725b16e372d5a8486070bf /tools/perf/scripts/python/libxed.py | |
parent | df720d288dbb1793e82b6ccbfc670ec871e9def4 (diff) |
tls/device: Use splice_eof() to flush
Allow splice to end a TLS record after prematurely ending a splice/sendfile
due to getting an EOF condition (->splice_read() returned 0) after splice
had called TLS with a sendmsg() with MSG_MORE set when the user didn't set
MSG_MORE.
Suggested-by: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/CAHk-=wh=V579PDYvkpnTobCLGczbgxpMgGmmhqiTyE34Cpi5Gg@mail.gmail.com/
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
cc: Chuck Lever <[email protected]>
cc: Boris Pismenny <[email protected]>
cc: John Fastabend <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Matthew Wilcox <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions