aboutsummaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorGravatar Jens Axboe <axboe@kernel.dk> 2023-12-05 07:02:13 -0700
committerGravatar Jens Axboe <axboe@kernel.dk> 2023-12-05 07:02:13 -0700
commit9865346b7e8374b57f1c3ccacdc77846c6352ff4 (patch)
tree348389fae84b4a08f1c98c46ec8d7e7b9f6077d0 /.rustfmt.toml
parentio_uring/kbuf: Fix an NULL vs IS_ERR() bug in io_alloc_pbuf_ring() (diff)
downloadlinux-9865346b7e8374b57f1c3ccacdc77846c6352ff4.tar.gz
linux-9865346b7e8374b57f1c3ccacdc77846c6352ff4.tar.bz2
linux-9865346b7e8374b57f1c3ccacdc77846c6352ff4.zip
io_uring/kbuf: check for buffer list readiness after NULL check
Move the buffer list 'is_ready' check below the validity check for the buffer list for a given group. Fixes: 5cf4f52e6d8a ("io_uring: free io_buffer_list entries via RCU") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions