linux/drivers/infiniband/hw/qedr
Prabhakar Kushwaha 60fab10766 rdma/qedr: Fix crash due to redundant release of device's qp memory
Device's QP memory should only be allocated and released by IB layer.
This patch removes the redundant release of the device's qp memory and
uses completion APIs to make sure that .destroy_qp() only return, when qp
reference becomes 0.

Fixes: 514aee660d ("RDMA: Globally allocate and release QP memory")
Link: https://lore.kernel.org/r/20211019082212.7052-1-pkushwaha@marvell.com
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-10-19 20:17:44 -03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qedr_hsi_rdma.h qedr: Add support for kernel mode SRQ's 2018-08-14 16:31:54 -06:00
qedr_iw_cm.c rdma/qedr: Fix crash due to redundant release of device's qp memory 2021-10-19 20:17:44 -03:00
qedr_iw_cm.h RDMA/qedr: Add iWARP connection management functions 2017-08-18 12:27:14 -04:00
qedr_roce_cm.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr_roce_cm.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr.h rdma/qedr: Fix crash due to redundant release of device's qp memory 2021-10-19 20:17:44 -03:00
verbs.c rdma/qedr: Fix crash due to redundant release of device's qp memory 2021-10-19 20:17:44 -03:00
verbs.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00