diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-03-07 21:06:32 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-07 21:10:28 +0300 |
commit | 1a8ec63b2b6c91caec87d4e132b1f71b5df342be (patch) | |
tree | c9a4da1dbe1a3cfd3df5b3843547e48c8ad9deac /drivers/fpga/xilinx-selectmap.c | |
parent | 70581dcd0601a09f134f23268e3374e15d736824 (diff) | |
download | linux-1a8ec63b2b6c91caec87d4e132b1f71b5df342be.tar.xz |
io_uring: fix io_queue_proc modifying req->flags
With multiple poll entries __io_queue_proc() might be running in
parallel with poll handlers and possibly task_work, we should not be
carelessly modifying req->flags there. io_poll_double_prepare() handles
a similar case with locking but it's much easier to move it into
__io_arm_poll_handler().
Cc: stable@vger.kernel.org
Fixes: 595e52284d24a ("io_uring/poll: don't enable lazy wake for POLLEXCLUSIVE")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/455cc49e38cf32026fa1b49670be8c162c2cb583.1709834755.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions