summaryrefslogtreecommitdiff
path: root/net/rxrpc/peer_object.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-03-09 11:10:32 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-10 05:30:10 +0300
commit6fc166d62c6f9f6eda5ea300f671d34e89bdd3c8 (patch)
tree6df3f8fefe6cb6ea23623e2f5eaaa15b04594826 /net/rxrpc/peer_object.c
parent4b3b45edba9222e518a1ec72df841eba3609fe34 (diff)
downloadlinux-6fc166d62c6f9f6eda5ea300f671d34e89bdd3c8.tar.xz
rxrpc: rxrpc_kernel_send_data() needs to handle failed call better
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@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/peer_object.c')
0 files changed, 0 insertions, 0 deletions