]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:44 +0000 (13:54 -0700)
commitcfdbc9ddef0d0f3d7b4423af1f243d17643f6c3f
tree21d9657293d17dbe425d1c7cc066400f400ebff4
parentd757e9ae3da24bf77e41d76fefcc3e07581f1834
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
net/sunrpc/xprtsock.c