[PATCH 0/2] io_uring: fix compat sendmsg retry and SQE_MIXED fdinfo

From: Hang Zhengyang

Date: Sat Dec 05 2026 - 05:49:10 EST


Two unrelated fixes. Patch 1 makes a retried SENDMSG or SENDMSG_ZC with
a control message work on a compat ring. Patch 2 makes the fdinfo SQ
dump of an SQE_MIXED ring list every SQE and nothing past the tail.

Tested in an x86_64 KVM guest on io_uring-7.4: the 32-bit sendmsg tests
and the fdinfo tests fail without the series and pass with it, and the
liburing tests show no new failures. The patch 1 test also fails on
6.12.120 and 6.6.163.

I used Claude Code to find the issues, write the patches and run the
tests. I reviewed the patches.

Hang Zhengyang (2):
io_uring/net: restore msg_controllen on compat sendmsg retry
io_uring/fdinfo: don't skip the SQE after a 128-byte one

io_uring/fdinfo.c | 1 -
io_uring/net.c | 8 ++++++++
2 files changed, 8 insertions(+), 1 deletion(-)


base-commit: 7e3dc305a86e40ce1f9cd926ecd06d339468f5cb
--
2.53.0