aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-11-25 12:33:06 +0000
committerJens Axboe <[email protected]>2025-11-25 14:03:45 +0000
commitf6dc5a36195d3f5be769f60d6987150192dfb099 (patch)
tree805eb95eb169721771e03cfd43e7e3036d23d8b2 /lib/mpi/mpi-mod.c
parentio_uring/net: ensure vectored buffer node import is tied to notification (diff)
downloadkernel-f6dc5a36195d3f5be769f60d6987150192dfb099.tar.gz
kernel-f6dc5a36195d3f5be769f60d6987150192dfb099.zip
io_uring: fix mixed cqe overflow handling
I started to see zcrx data corruptions. That turned out to be due to CQ tail pointing to a stale entry which happened to be from a zcrx request. I.e. the tail is incremented without the CQE memory being changed. The culprit is __io_cqring_overflow_flush() passing "cqe32=true" to io_get_cqe_overflow() for non-mixed CQE32 setups, which only expects it to be set for mixed 32B CQEs and not for SETUP_CQE32. The fix is slightly hacky, long term it's better to unify mixed and CQE32 handling. Fixes: e26dca67fde19 ("io_uring: add support for IORING_SETUP_CQE_MIXED") Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions