Skip to content
Commit 27adc785 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Use the ENOTCONN error on socket disconnect



When the socket is closed, we currently send an EAGAIN error to all
pending requests in order to ask them to retransmit. Use ENOTCONN
instead, to ensure that they try to reconnect before attempting to
transmit.
This also helps SOFTCONN tasks to behave correctly in this
situation.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 51314960
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment