diff options
author | Eugene Syromiatnikov <esyr@redhat.com> | 2022-04-29 17:22:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-29 17:39:43 +0300 |
commit | 303cc749c8659d5f1ccf97973591313ec0bdacd3 (patch) | |
tree | 38f0530dc123bfb1ea423537ab422eee8dc7e9e6 /drivers/slimbus/core.c | |
parent | 32452a3eb8b64e01e2be717f518c0be046975b9d (diff) | |
download | linux-303cc749c8659d5f1ccf97973591313ec0bdacd3.tar.xz |
io_uring: check that data field is 0 in ringfd unregister
Only allow data field to be 0 in struct io_uring_rsrc_update user
arguments to allow for future possible usage.
Fixes: e7a6c00dc77a ("io_uring: add support for registering ring file descriptors")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Link: https://lore.kernel.org/r/20220429142218.GA28696@asgard.redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/slimbus/core.c')
0 files changed, 0 insertions, 0 deletions