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