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)
committerSteve Conklin <sconklin@canonical.com>
Fri, 15 Jul 2011 17:21:11 +0000 (12:21 -0500)
commit39288ce0c966b796f5a9e97adfda1bcde0cbb9bb
treec4f6845a6548a20b44c704eb15c7927e9b444f38
parentb27d1b8d0a6ea0b5e330891e747986f9f691d3d4
SUNRPC: Deal with the lack of a SYN_SENT sk->sk_state_change callback...

BugLink: http://bugs.launchpad.net/bugs/793702

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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
net/sunrpc/xprtsock.c