diff options
| author | 2026-10-26 18:52:15 -0700 | |
|---|---|---|
| committer | 2026-10-28 16:50:20 -0700 | |
| commit | 7c5d62eff7008612fd2ad681e743d1f4adf2459e (patch) | |
| tree | a64c34df4ee03a073701fef9bd0aca372b678690 /scripts/Makefile.thinlto | |
| parent | tls: Honor O_NONBLOCK in tls_sw_splice_read() (diff) | |
selftests: tls: Cover splice on a nonblocking socket
Every existing splice call in this file either passes
SPLICE_F_NONBLOCK or runs on a blocking socket, so nothing
exercises the socket's own O_NONBLOCK on the splice path. A change
that stops consulting sock->file->f_flags puts splice(2) and
sendfile(2) back to sleeping in tls_rx_rec_wait(), and the suite
still reports pass.
Splice from a nonblocking socket without SPLICE_F_NONBLOCK, first
with no record queued, which must return EAGAIN, then with a record
to deliver. A kernel that ignores the socket flag sleeps until the
harness timeout rather than returning.
Signed-off-by: Chuck Lever <cel@kernel.org>
Link: https://patch.msgid.link/20261027015215.605919-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
