]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Apr 2024 01:03:26 +0000 (19:03 -0600)
commit6b69c4ab4f685327d9e10caf0d84217ba23a8c4b
tree23d7e9bba95a9bf4af42b3f46d1e428fb470b7e5
parent3b80cff5a4d117c53d38ce805823084eaeffbde6
io_uring/kbuf: protect io_buffer_list teardown with a reference

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>
io_uring/kbuf.c
io_uring/kbuf.h