RDMA/cxgb4: Insert hwtid in pass_accept_req instead in pass_establish
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 Jan 2013 13:11:59 +0000 (13:11 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 14 Feb 2013 23:51:58 +0000 (15:51 -0800)
commitb3de6cfebc6167761c40947f05f4c817531f37d5
treef3dca37f0533b1bd664129cc12ae582ba1c285d2
parent7c0a33d61187a413f29f63d106b503b9c91680e8
RDMA/cxgb4: Insert hwtid in pass_accept_req instead in pass_establish

CPL_ABORT_REQ_RSS can come before TCP connection is established.  In
such case peer_abort was trying to remove the hwtid, which was not
inserted.  To avoid this we insert the hwtid when we are sure that we
are surely going to send passive accept request.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c