diff options
author | Dan Carpenter <[email protected]> | 2022-10-25 18:32:32 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-10-28 12:59:40 -0300 |
commit | 7a47e077e503feb73d56e491ce89aa73b67a3972 (patch) | |
tree | c80fcf83135de98db990d61efc973e8a86569c19 /include/linux/workqueue_api.h | |
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 <[email protected]>
Link: https://lore.kernel.org/r/Y1gBkDucQhhWj5YM@kili
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions