Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring/kbuf: protect io_buffer_list teardown with a reference
stable inclusion from stable-v6.6.26 commit b392402d29ab50bfe2e958c71d66e1bc1ef15be4 bugzilla: https://gitee.com/openeuler/kernel/issues/I9MPZ8 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b392402d29ab50bfe2e958c71d66e1bc1ef15be4 -------------------------------- 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> Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
- Loading branch information