]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/kbuf: protect io_buffer_list teardown with a reference
authorJens Axboe <axboe@kernel.dk>
Fri, 15 Mar 2024 22:12:51 +0000 (16:12 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:36:02 +0000 (16:36 +0200)
commitb392402d29ab50bfe2e958c71d66e1bc1ef15be4
tree5234276c545f682c6ea629edf41a7e7481eee6dd
parent4c0a5da0e70e7055311a8a949b9759811fa7656d
io_uring/kbuf: protect io_buffer_list teardown with a reference

commit 6b69c4ab4f685327d9e10caf0d84217ba23a8c4b upstream.

No functional changes in this patch, just in preparation for being able
to keep the buffer list alive outside of the ctx->uring_lock.

Cc: stable@vger.kernel.org # v6.4+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_uring/kbuf.c
io_uring/kbuf.h