]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:54 +0000 (13:54 -0700)
commitfa895d1e6b22dae5808052facfe11f83fed070ff
tree0d814b1ac209c738a5d45eb19e89fcf7543b40e4
parent0432b8c1ca35b185997de324b643ac83d554b02c
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
net/sunrpc/xprtsock.c