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

io_uring/fdinfo: only print ->sq_array[] if it's there


If a ring is setup with IORING_SETUP_NO_SQARRAY, then we don't have
the SQ array. Don't try to dump info from it through fdinfo if that
is the case.

Reported-by: default avatar <syzbot+216e2ea6e0bf4a0acdd7@syzkaller.appspotmail.com>
Fixes: 2af89abd ("io_uring: add option to remove SQ indirection")
Reviewed-by: default avatarGabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b484a40d
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.
Finish editing this message first!
Please register or to comment