diff options
author | Pavel Begunkov <[email protected]> | 2022-01-09 00:53:22 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-01-09 09:22:49 -0700 |
commit | 3cc7fdb9f90a25ae92250bf9e6cf3b9556b230e9 (patch) | |
tree | 1aee7597ac5ead8b7c94074b769911d356d7d782 /net/lapb/lapb_timer.c | |
parent | c0235652ee5194fc75926daa580817e63ceb37ab (diff) |
io_uring: fix not released cached task refs
tctx_task_work() may get run after io_uring cancellation and so there
will be no one to put cached in tctx task refs that may have been added
back by tw handlers using inline completion infra, Call
io_uring_drop_tctx_refs() at the end of the main tw handler to release
them.
Cc: [email protected] # 5.15+
Reported-by: Lukas Bulwahn <[email protected]>
Fixes: e98e49b2bbf7 ("io_uring: extend task put optimisations")
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/69f226b35fbdb996ab799a8bbc1c06bf634ccec1.1641688805.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions