aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-04-15 13:07:40 +0100
committerJens Axboe <axboe@kernel.dk>2021-04-17 19:20:08 -0600
commit75c4021aacbd9b5cc13b173d32b49007fd8ccada (patch)
tree7575ca680cb37fc4a9c503ce635422c691228298 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com
parentio_uring: fix overflows checks in provide buffers (diff)
downloadlinux-dev-75c4021aacbd9b5cc13b173d32b49007fd8ccada.tar.xz
linux-dev-75c4021aacbd9b5cc13b173d32b49007fd8ccada.zip
io_uring: check register restriction afore quiesce
Move restriction checks of __io_uring_register() before quiesce, saves from waiting for requests in fail case and simplifies the code a bit. Also add array_index_nospec() for safety Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/88d7913c9280ee848fdb7b584eea37a465391cee.1618488258.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions