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

2017-03-09 Thread David Miller
From: David Howells Date: Thu, 09 Mar 2017 08:10:32 + > 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 > ESHUTDO

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

2017-03-09 Thread David Howells
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