From: Trond Myklebust Date: Wed, 11 Mar 2009 19:29:24 +0000 (-0400) Subject: SUNRPC: Ensure we close the socket on EPIPE errors too... X-Git-Tag: v2.6.30-rc1~415^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55420c24a0d4d1fce70ca713f84aa00b6b74a70e;p=pandora-kernel.git SUNRPC: Ensure we close the socket on EPIPE errors too... As long as one task is holding the socket lock, then calls to xprt_force_disconnect(xprt) will not succeed in shutting down the socket. In particular, this would mean that a server initiated shutdown will not succeed until the lock is relinquished. In order to avoid the deadlock, we should ensure that xs_tcp_send_request() closes the socket on EPIPE errors too. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed