summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-10-22 19:55:14 +0300
committerAnna Schumaker <anna.schumaker@hammerspace.com>2026-11-09 15:04:53 -0500
commit30150b94c70eff4bf916d7d367ecf75de25d5337 (patch)
treec7c007d7c53e5c1e5877f77aedc272f724c541ff /rust/kernel/alloc/kvec
parent0cd6e563938a5b2f88ce0008eda32f9617c9d81f (diff)
SUNRPC: preserve fatal network errors during RPC binding
call_bind_status() initializes status to -EIO. When an unbound transport's port lookup fails with -ENETDOWN or -ENETUNREACH and RPC_TASK_NETUNREACH_FATAL is set, the function exits the switch without updating status. The RPC task then reports -EIO instead of the network error. This can occur during NFSv3 port discovery with nconnect, when an additional transport has not yet bound. Preserve task->tk_status in the fatal branch. Leave the nonfatal retry handling unchanged. Fixes: 9827144bfb2b ("NFS: Treat ENETUNREACH errors as fatal in containers") Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions