summaryrefslogtreecommitdiff
path: root/rust/kernel/workqueue.rs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-12-12 18:01:52 +0300
committerJens Axboe <axboe@kernel.dk>2024-12-12 18:01:52 +0300
commit99d6af6e8a22b792e1845b186f943cd10bb4b7b0 (patch)
treec7af221e463e44672298b000de646274e9eba704 /rust/kernel/workqueue.rs
parenta07d2d7930c75e6bf88683b376d09ab1f3fed2aa (diff)
downloadlinux-99d6af6e8a22b792e1845b186f943cd10bb4b7b0.tar.xz
io_uring/rsrc: don't put/free empty buffers
If cloning of buffers fail and we have to put the ones already grabbed, check for NULL buffers and skip those. They used to be dummy ubufs, but now they are just NULL and that should be checked before reaping them. Reported-by: chase xd <sl1589472800@gmail.com> Link: https://lore.kernel.org/io-uring/CADZouDQ7TcKn8gz8_efnyAEp1JvU1ktRk8PWz-tO0FXUoh8VGQ@mail.gmail.com/ Fixes: d50f94d761a5 ("io_uring/rsrc: get rid of the empty node and dummy_ubuf") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions