diff options
| author | Dan Carpenter <[email protected]> | 2022-10-25 15:32:32 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2022-10-28 15:59:40 +0000 |
| commit | 7a47e077e503feb73d56e491ce89aa73b67a3972 (patch) | |
| tree | c80fcf83135de98db990d61efc973e8a86569c19 /lib/test-string_helpers.c | |
| parent | RDMA/core: Fix null-ptr-deref in ib_core_cleanup() (diff) | |
| download | kernel-7a47e077e503feb73d56e491ce89aa73b67a3972.tar.gz kernel-7a47e077e503feb73d56e491ce89aa73b67a3972.zip | |
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
