Re: [PATCH net] rxrpc: rxrpc_kernel_send_data() needs to handle failed call better

From: David Miller
Date: Thu Mar 09 2017 - 21:30:52 EST


From: David Howells <dhowells@xxxxxxxxxx>
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@xxxxxxxxxx>

Applied, thanks David.