SUNRPC: fix NFS client over TCP hangs due to packet loss (Bug 16494)
authorAndy Chittenden <andyc.bluearc@gmail.com>
Tue, 10 Aug 2010 14:19:53 +0000 (10:19 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:12 +0000 (15:55 -0700)
commit0ec1c448546ccd6413dd864bf007a13a3af4c7c4
tree0ac8ffea15361d37fbf9ab577cf0178da0ccfbd4
parent0682ff5eb416867ba128d8e00b05607448d936a6
SUNRPC: fix NFS client over TCP hangs due to packet loss (Bug 16494)

commit 669502ff31d7dba1849aec7ee2450a3c61f57d39 upstream.

When reusing a TCP connection, ensure that it's aborted if a previous
shutdown attempt has been made on that connection so that the RPC over
TCP recovery mechanism succeeds.

Signed-off-by: Andy Chittenden <andyc.bluearc@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/xprtsock.c