]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/net: fix notif cqe reordering
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 16 Oct 2022 20:33:30 +0000 (21:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Oct 2022 10:39:27 +0000 (12:39 +0200)
commit5156958755853a48de499b330ff9b2a624b463fc
tree7d057f84f2d9e3de34a6c6b0e8a57f51f6b18d4f
parent9dc0dcb6dc98be4bfe17103ca319fd9b5b83046e
io_uring/net: fix notif cqe reordering

[ upstream commit 108893ddcc4d3aa0a4a02aeb02d478e997001227 ]

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: 53bdc88aac9a2 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_uring/net.c