linux/drivers/infiniband/hw/qedr
Dan Carpenter 7a47e077e5 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
Add a check for if create_singlethread_workqueue() fails and also destroy
the work queue on failure paths.

Fixes: e411e0587e ("RDMA/qedr: Add iWARP connection management functions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/Y1gBkDucQhhWj5YM@kili
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-10-28 12:59:40 -03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c RDMA/qedr: clean up work queue on failure in qedr_alloc_resources() 2022-10-28 12:59:40 -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
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 reporting QP timeout attribute 2022-06-07 11:46:56 +03:00
verbs.c v5.20 pull request 2022-08-04 19:54:32 -07:00
verbs.h RDMA/qedr: Remove unsupported qedr_resize_cq callback 2021-10-25 14:56:55 -03:00