Skip to content
Commit 2fcabce2 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: disallow mixed provided buffer group registrations



It's nonsensical to register a provided buffer ring, if a classic
provided buffer group with the same ID exists. Depending on the order of
which we decide what type to pick, the other type will never get used.
Explicitly disallow it and return an error if this is attempted.

Fixes: c7fb1942 ("io_uring: add support for ring mapped supplied buffers")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1d0dbbfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment