From: Trond Myklebust Date: Wed, 11 Mar 2009 18:37:59 +0000 (-0400) Subject: SUNRPC: Handle ECONNREFUSED correctly in xprt_transmit() X-Git-Tag: v2.6.30-rc1~415^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8485e4d634f6df155040293928707f127f0d06d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed