SUNRPC: Deal with the lack of a SYN_SENT sk->sk_state_change callback...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Mar 2011 00:21:23 +0000 (20:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:32:41 +0000 (09:32 +0900)
commit721c196a63eb2b149ae0856f7dc7243303a1e79b
tree235168039fbed38507ed7b029a26549777457443
parent0b9fb9202dac3ba4542556d57ccbe3fdd63d8b89
SUNRPC: Deal with the lack of a SYN_SENT sk->sk_state_change callback...

commit fe19a96b10032035a35779f42ad59e35d6dd8ffd upstream.

The TCP connection state code depends on the state_change() callback
being called when the SYN_SENT state is set. However the networking layer
doesn't actually call us back in that case.

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