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:
Yan Burman
2014-02-02 14:58:34 +00:00
parent cf03aae45e
commit 1978c7a7ed

View File

@@ -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]--;