diff options
| author | David Howells <dhowells@redhat.com> | 2023-06-07 21:19:14 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 05:40:31 +0300 |
| commit | c289a1601abd7313ef08ec13184df385cfb4d388 (patch) | |
| tree | f83a101f56a8ca8579b5bb7da8038a603a435da7 /include | |
| parent | 1d7e4538a5463faa0b0e26a7a7b6bd68c7dfdd78 (diff) | |
| download | linux-c289a1601abd7313ef08ec13184df385cfb4d388.tar.xz | |
chelsio/chtls: Use splice_eof() to flush
Allow splice to end a Chelsio TLS record after prematurely ending a
splice/sendfile due to getting an EOF condition (->splice_read() returned
0) after splice had called sendmsg() with MSG_MORE set when the user didn't
set MSG_MORE.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/CAHk-=wh=V579PDYvkpnTobCLGczbgxpMgGmmhqiTyE34Cpi5Gg@mail.gmail.com/
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Ayush Sawal <ayush.sawal@chelsio.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
