commit | c8485e4d634f6df155040293928707f127f0d06d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 11 14:37:59 2009 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 11 14:37:59 2009 -0400 |
tree | 72ec8a7ea829e4f7df4648e646353c55a037e50e | |
parent | 40d2549db5f515e415894def98b49db7d4c56714 [diff] |
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>