diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-03-11 22:29:24 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-03-19 22:17:36 +0300 |
commit | 55420c24a0d4d1fce70ca713f84aa00b6b74a70e (patch) | |
tree | 9e7e931122cb77e7ae1249b6dde81d83f60a894d /crypto/async_tx/Kconfig | |
parent | b61d59fffd3e5b6037c92b4c840605831de8a251 (diff) | |
download | linux-55420c24a0d4d1fce70ca713f84aa00b6b74a70e.tar.xz |
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'crypto/async_tx/Kconfig')
0 files changed, 0 insertions, 0 deletions