]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/iw_cxgb4: move QP -> ERROR on fatal disconnect errors
authorHariprasad S <hariprasad@chelsio.com>
Wed, 4 May 2016 19:57:36 +0000 (01:27 +0530)
committerDoug Ledford <dledford@redhat.com>
Thu, 5 May 2016 20:11:14 +0000 (16:11 -0400)
commit7d27af1210632b5923e2fbd7cc7959cdddf4d66a
tree9711dbc4ecbc69551981bd941b6a50cb91331a1e
parent5bd2c3a4f8033fb75c2778939727943b49d8ad3b
RDMA/iw_cxgb4: move QP -> ERROR on fatal disconnect errors

In c4iw_ep_disconnect(), if we fail to initiate a close operation, then
move the qp to ERROR to disassociate the ep from the qp.  Failure to do
this will leak the ep resources.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c