]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/irdma: Remove reset check from irdma_modify_qp_to_err()
authorTatyana Nikolova <tatyana.e.nikolova@intel.com>
Mon, 16 Mar 2026 18:39:44 +0000 (13:39 -0500)
committerLeon Romanovsky <leonro@nvidia.com>
Wed, 18 Mar 2026 10:20:53 +0000 (06:20 -0400)
commitc45c6ebd693b944f1ffe429fdfb6cc1674c237be
tree5399d386287253eea71d9e8a62f9876287014469
parentb415399c9a024d574b65479636f0d4eb625b9abd
RDMA/irdma: Remove reset check from irdma_modify_qp_to_err()

During reset, irdma_modify_qp() to error should be called to disconnect
the QP. Without this fix, if not preceded by irdma_modify_qp() to error, the
API call irdma_destroy_qp() gets stuck waiting for the QP refcount to go
to zero, because the cm_node associated with this QP isn't disconnected.

Fixes: 915cc7ac0f8e ("RDMA/irdma: Add miscellaneous utility definitions")
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/utils.c