diff options
author | Dan Carpenter | 2022-10-25 18:32:32 +0300 |
---|---|---|
committer | Jason Gunthorpe | 2022-10-28 12:59:40 -0300 |
commit | 7a47e077e503feb73d56e491ce89aa73b67a3972 (patch) | |
tree | c80fcf83135de98db990d61efc973e8a86569c19 /drivers/infiniband/hw/vmw_pvrdma | |
parent | 07c0d131cc0fe1f3981a42958fc52d573d303d89 (diff) |
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: e411e0587e0d ("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>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma')
0 files changed, 0 insertions, 0 deletions