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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 30 Oct 2012 23:26:56 +0000 (23:26 +0000)
commit86024793d4781612d47a3e63a7682a9c3de1d771
treec81160ac930563290bb0e7995aa132d1d4e42811
parent1d3bda6f1b995e50f3c8529333471351b986c503
SUNRPC: Clear the connect flag when socket state is TCP_CLOSE_WAIT

commit d0bea455dd48da1ecbd04fedf00eb89437455fdc upstream.

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>
Tested-by: Chris Perl <chris.perl@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/sunrpc/xprtsock.c