[PATCH net] rxrpc: rxrpc_kernel_send_data() needs to handle failed call better
David Miller
davem at davemloft.net
Thu Mar 9 18:30:35 PST 2017
From: David Howells <dhowells at redhat.com>
Date: Thu, 09 Mar 2017 08:10:32 +0000
> If rxrpc_kernel_send_data() is asked to send data through a call that has
> already failed (due to a remote abort, received protocol error or network
> error), then return the associated error code saved in the call rather than
> ESHUTDOWN.
>
> This allows the caller to work out whether to ask for the abort code or not
> based on this.
>
> Signed-off-by: David Howells <dhowells at redhat.com>
Applied, thanks David.
More information about the linux-afs
mailing list