mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 19:51:27 +00:00
isert: Do not call rdma_destroy_qp() when there is isert_conn_qp_destroy()
Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5258 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1070,7 +1070,7 @@ static void isert_kref_free(struct kref *kref)
|
||||
|
||||
isert_free_conn_resources(isert_conn);
|
||||
|
||||
rdma_destroy_qp(isert_conn->cm_id);
|
||||
isert_conn_qp_destroy(isert_conn);
|
||||
|
||||
mutex_lock(&dev_list_mutex);
|
||||
isert_dev->cq_qps[cq->idx]--;
|
||||
|
||||
Reference in New Issue
Block a user