]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Handle ECONNREFUSED correctly in xprt_transmit()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:37:59 +0000 (14:37 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:37:59 +0000 (14:37 -0400)
commitc8485e4d634f6df155040293928707f127f0d06d
tree72ec8a7ea829e4f7df4648e646353c55a037e50e
parent40d2549db5f515e415894def98b49db7d4c56714
SUNRPC: Handle ECONNREFUSED correctly in xprt_transmit()

If we get an ECONNREFUSED error, we currently go to sleep on the
'xprt->sending' wait queue. The problem is that no timeout is set there,
and there is nothing else that will wake the task up later.

We should deal with ECONNREFUSED in call_status, given that is where we
also deal with -EHOSTDOWN, and friends.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c