]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d559662ed8a5544b52e5c3f9f791d2fde868359
treef3dca37f0533b1bd664129cc12ae582ba1c285d2
parenta5e5f343b391c58f26a49fb207dee884b573d7b2
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