aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-03-13 12:29:43 -0700
committerJens Axboe <axboe@kernel.dk>2021-03-14 09:56:14 -0600
commit9e15c3a0ced5a61f320b989072c24983cb1620c1 (patch)
tree940ba0a8d0f7ea70dcbc5ee89e5f591cace325da /kernel/locking/rtmutex-debug.c
parent16efa4fce3b7af17bb45d635c3e89992d721e0f3 (diff)
io_uring: convert io_buffer_idr to XArray
Like we did for the personality idr, convert the IO buffer idr to use XArray. This avoids a use-after-free on removal of entries, since idr doesn't like doing so from inside an iterator, and it nicely reduces the amount of code we need to support this feature. Fixes: 5a2e745d4d43 ("io_uring: buffer registration infrastructure") Cc: stable@vger.kernel.org Cc: Matthew Wilcox <willy@infradead.org> Cc: yangerkun <yangerkun@huawei.com> Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions