summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-01-09 03:53:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-29 12:58:24 +0300
commitb168b1a0397ea64afc852e8f639be5bd920a79d9 (patch)
treea7b3a278b997d17a7668063558cbea9545f59714 /drivers/net/ethernet/broadcom/bnx2x
parentf71c91ed1d4b4bfbbb55327b04dcc32b2d970f62 (diff)
downloadlinux-b168b1a0397ea64afc852e8f639be5bd920a79d9.tar.xz
io_uring: fix not released cached task refs
commit 3cc7fdb9f90a25ae92250bf9e6cf3b9556b230e9 upstream. 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: stable@vger.kernel.org # 5.15+ Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Fixes: e98e49b2bbf7 ("io_uring: extend task put optimisations") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/69f226b35fbdb996ab799a8bbc1c06bf634ccec1.1641688805.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
0 files changed, 0 insertions, 0 deletions