diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-04-15 14:22:16 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-20 14:47:29 -0600 |
| commit | ee5417fd02cabb6235a89daf5142ffde9aa957fd (patch) | |
| tree | e8a45ccb4ab229c9e875bef7b7bf77da650063f4 /include | |
| parent | 326941b22806cbf2df1fbfe902b7908b368cce42 (diff) | |
io_uring/tctx: check for setup tctx->io_wq before teardown
As with the idling code before it, the error exit path should check for
a NULL tctx->io_wq before calling io_wq_put_and_exit().
Fixes: 7880174e1e5e ("io_uring/tctx: clean up __io_uring_add_tctx_node() error handling")
Reported-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Clément Léger <cleger@meta.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
