]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SDP: BUG1348 - sockets are left in CLOSE state with ref count > 0
authorAmir Vadai <amirv@mellanox.co.il>
Thu, 20 Nov 2008 10:56:39 +0000 (12:56 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:21 +0000 (05:04 -0700)
commitb07c4f20ce10ef8d40c5a0bb60103e66b224af07
tree2e88f6f3cb4d40be5e10a1f7dfa32b63e9ce3f76
parent7087210d040646d2ece571163bebaf5b1ed424ca
SDP: BUG1348 - sockets are left in CLOSE state with ref count > 0

Removed unnecessary sock_hold() when a CM_REJECT arrives before TCP_ESTABLISHED state.
This happend in the server side when after getting CM_REQ and answering with CM_REP a CM_REJ
arrived.
The sock_hold that was removed assumed that there will be a timewait state - but according to
the spec, the state changes back to LISTEN without TIMEWAIT.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_cma.c