SUNRPC: Clear the connect flag when socket state is TCP_CLOSE_WAIT
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Oct 2012 15:35:47 +0000 (11:35 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 24 Oct 2012 14:44:49 +0000 (10:44 -0400)
commitd0bea455dd48da1ecbd04fedf00eb89437455fdc
tree75f7f748bbcc8c501d1429268bd4163b028cb184
parent0e9e3e306c7e472bdcffa34c4c4584301eda03b3
SUNRPC: Clear the connect flag when socket state is TCP_CLOSE_WAIT

This is needed to ensure that we call xprt_connect() upon the next
call to call_connect().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
Tested-by: Chris Perl <chris.perl@gmail.com>
net/sunrpc/xprtsock.c