Skip to content
Snippets Groups Projects
Commit 9865346b authored by Jens Axboe's avatar Jens Axboe
Browse files

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: 5cf4f52e ("io_uring: free io_buffer_list entries via RCU")
Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e53f7b54
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment