]> 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>
Mon, 4 Mar 2013 22:29:33 +0000 (17:29 -0500)
commit724bf7a71b44145811a1fec3b20a26bd1edae51b
tree9d81e79ab92fa965f7a8886d94a9e35683d36c97
parent6dbe51c251a327e012439c4772097a13df43c5b8
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