Re: [PATCH net-next v5 05/14] tls/sw: Use splice_eof() to flush

Jakub Kicinski
2023-06-07T16:57:48Z

On Wed, 7 Jun 2023 15:05:50 +0100 David Howells wrote:
> 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 <torvalds@linux-foundation.org>
> Link: https://lore.kernel.org/r/CAHk-=wh=V579PDYvkpnTobCLGczbgxpMgGmmhqiTyE34Cpi5Gg@mail.gmail.com/
> Signed-off-by: David Howells <dhowells@redhat.com>

Reviewed-by: Jakub Kicinski <kuba@kernel.org>