diff options
| author | 2026-08-08 11:40:15 -0400 | |
|---|---|---|
| committer | 2026-10-05 09:46:40 -0400 | |
| commit | 3f8ffd29579dc832bc194b7a21efc68608ce79fc (patch) | |
| tree | 651cf74421d8e38d38c55ce547313b4722b55a88 /scripts/Makefile.thinlto | |
| parent | SUNRPC: treat every client-side TLS error alert as fatal (diff) | |
SUNRPC: fold xs_sock_process_cmsg() into its only caller
xs_sock_process_cmsg() switches on the TLS record type, and every arm
but TLS_RECORD_TYPE_ALERT returns the -EAGAIN its caller passed in.
The DATA arm clears MSG_EOR in the caller's msghdr, but
xs_sock_recvmsg() has already cleared that flag before the call.
Deriving the record type a second time inside the helper also fires
trace_tls_contenttype() twice for every alert.
Move the alert handling into xs_sock_recv_cmsg() and delete the
helper. Every other record type still returns -EAGAIN. The DATA arm's
account of MSG_EOR moves to xs_sock_recvmsg(), where the flag is
cleared.
Signed-off-by: Chuck Lever <cel@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
