summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-03-25 20:05:14 +0100
committerJens Axboe <axboe@kernel.dk>2021-03-25 20:47:03 +0100
commit90b8749022bbdd0c94a13182a78f4903b98fd0d7 (patch)
tree32a12b3183e89e32bc6da294070eb4340d49e6d3 /kernel/signal.c
parentio-wq: fix race around pending work on teardown (diff)
downloadlinux-90b8749022bbdd0c94a13182a78f4903b98fd0d7.tar.xz
linux-90b8749022bbdd0c94a13182a78f4903b98fd0d7.zip
io_uring: maintain CQE order of a failed link
Arguably we want CQEs of linked requests be in a strict order of submission as it always was. Now if init of a request fails its CQE may be posted before all prior linked requests including the head of the link. Fix it by failing it last. Fixes: de59bc104c24f ("io_uring: fail links more in io_submit_sqe()") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b7a96b05832e7ab23ad55f84092a2548c4a888b0.1616699075.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions