SUNRPC: Fix tcp reconnection
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 21 Aug 2009 17:37:17 +0000 (13:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:51 +0000 (20:17 -0700)
commit2607b3b8c16b95806c81968bcd909cba02e6d051
tree0935d764aefee15a24ecd963504434ecfe09a54e
parentdeeab04d78c0b5b505853a8f6810fb70bc40acd2
SUNRPC: Fix tcp reconnection

This fixes a problem that was reported as Red Hat Bugzilla entry number
485339, in which rpciod starts looping on the TCP connection code,
rendering the NFS client unusable for 1/2 minute or so.

It is basically a backport of commit
f75e6745aa3084124ae1434fd7629853bdaf6798 (SUNRPC: Fix the problem of
EADDRNOTAVAIL syslog floods on reconnect)

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c