]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring/net: fix notif cqe reordering
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 29 Sep 2022 21:23:19 +0000 (22:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Sep 2022 23:46:04 +0000 (17:46 -0600)
commit9fac8d1073cb35af872e62b2751ddc2b273a8a04
treeafb868d58a6db7efca7777adb5ce67bd331b345b
parent1620896c6d7a9e1259719e7fd572b0d2c67b7cc4
io_uring/net: fix notif cqe reordering

send zc is not restricted to !IO_URING_F_UNLOCKED anymore and so
we can't use task-tw ordering trick to order notification cqes
with requests completions. In this case leave it alone and let
io_send_zc_cleanup() flush it.

Cc: stable@vger.kernel.org
Fixes: ba41912e1efb0 ("io_uring/notif: order notif vs send CQEs")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0031f3a00d492e814a4a0935a2029a46d9c9ba06.1664486545.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c