]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
io_uring: use nospec annotation for more indexes
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Apr 2022 13:05:05 +0000 (14:05 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 10:00:58 +0000 (12:00 +0200)
commita280efe92798f755a9563aa01906db6fe901c7d0
treeb0c9a143c12f58668d32aea62ea2c2960dab137c
parent87e47062b111cac7d11d2f7d1387085aae20a3d9
io_uring: use nospec annotation for more indexes

BugLink: https://bugs.launchpad.net/bugs/1969857
[ Upstream commit 4cdd158be9d09223737df83136a1fb65269d809a ]

There are still several places that using pre array_index_nospec()
indexes, fix them up.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b01ef5ee83f72ed35ad525912370b729f5d145f4.1649336342.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/io_uring.c