Thread (3 messages) 3 messages, 1 author, 1d ago

[PATCH net 0/2] tls: Honor O_NONBLOCK in tls_sw_splice_read()

flat view
WARM1d

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-10-27 01:52:17
Also in: linux-kselftest
Subsystem: kernel selftest framework, networking [general], networking [tls], the rest · Maintainers: Shuah Khan, Shuah Khan, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, John Fastabend, Sabrina Dubroca, Linus Torvalds

Extract the O_NONBLOCK fix from Chuck's zero-len record series:
https://lore.kernel.org/20261019-tls-follow-on-v6-0-ab01c4ecca0c@kernel.org (local)

The first patch carries the fix. LLMs love to point out the missing
O_NONBLOCK as a risk for the zero-len record change so let's get
it out of the way before working on the zero-len record fix which
is more complex.

The fix itself is almost unchange (I deleted some parens),
the selftest was fixed up a little bit to appease the LLM
reviewers but also no substantial change.

Chuck Lever (2):
  tls: Honor O_NONBLOCK in tls_sw_splice_read()
  selftests: tls: Cover splice on a nonblocking socket

 net/tls/tls_sw.c                  |  9 ++++++---
 tools/testing/selftests/net/tls.c | 31 +++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 3 deletions(-)

-- 
2.56.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help