Skip to content

tls: Honor O_NONBLOCK in tls_sw_splice_read()

Jakub Kicinski linux-kselftest netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2tls: Honor O_NONBLOCK in tls_sw_splice_read()net/tls/tls_sw.c+6 -30 repliesApplied
2/2selftests: tls: Cover splice on a nonblocking sockettools/testing/selftests/net/tls.c+31 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Extract the O_NONBLOCK fix from Chuck's zero-len record series:
https://lore.kernel.org/[email protected]

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(-)
Signature · 1 line
2.56.0