From 1978c7a7edad2dff4382d22e8bb2e8a47a52f54a Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Sun, 2 Feb 2014 14:58:34 +0000 Subject: [PATCH] isert: Do not call rdma_destroy_qp() when there is isert_conn_qp_destroy() Signed-off-by: Yan Burman git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5258 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/iser_rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/isert-scst/iser_rdma.c b/iscsi-scst/kernel/isert-scst/iser_rdma.c index 5845738a1..f38695e8b 100644 --- a/iscsi-scst/kernel/isert-scst/iser_rdma.c +++ b/iscsi-scst/kernel/isert-scst/iser_rdma.c @@ -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]--;