]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 4 Mar 2013 22:29:33 +0000 (17:29 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 21 Mar 2013 14:31:22 +0000 (10:31 -0400)
commitcde24c5a8d2632ad11144019d673794d2eb0e16c
treecd0f8b205e7ea6c4ea2ad6dfe59bb9201c91062c
parent240286725d854331422cb15957f8d9bf2741d4e3
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks

In the case of a SOFTCONN rpc task, we really want to ensure that it
reports errors like ENETUNREACH back to the caller. Currently, only
some of these errors are being reported back (connect errors are not),
and they are being converted by the RPC layer into EIO.

Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
net/sunrpc/xprtsock.c