Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1596575

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net] rxrpc: rxrpc_kernel_send_data() needs to handle failed call better
Date 2017-03-10 03:40 +0100
Message-ID <tjiDf-5vT-11@gated-at.bofh.it> (permalink)
References <tj1sK-2tF-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: David Howells <dhowells@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@redhat.com>

Applied, thanks David.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net] rxrpc: rxrpc_kernel_send_data() needs to handle failed  call better David Howells <dhowells@redhat.com> - 2017-03-09 09:20 +0100
  Re: [PATCH net] rxrpc: rxrpc_kernel_send_data() needs to handle  failed call better David Miller <davem@davemloft.net> - 2017-03-10 03:40 +0100

csiph-web