From: Hang Zhengyang <hang.zhengyang1010@gmail.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: Pavel Begunkov <asml.silence@gmail.com>,
Keith Busch <kbusch@kernel.org>,
Nicholas Carlini <nicholas@carlini.com>,
io-uring@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] io_uring: fix compat sendmsg retry and SQE_MIXED fdinfo
Date: Sat, 5 Dec 2026 10:48:52 +0000 [thread overview]
Message-ID: <20261205104854.1207958-1-hang.zhengyang1010@gmail.com> (raw)
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
next reply other threads:[~2026-12-05 10:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 10:48 Hang Zhengyang [this message]
2026-12-05 10:48 ` [PATCH 1/2] io_uring/net: restore msg_controllen on compat sendmsg retry Hang Zhengyang
2026-12-05 10:48 ` [PATCH 2/2] io_uring/fdinfo: don't skip the SQE after a 128-byte one Hang Zhengyang
2026-12-05 14:04 ` [PATCH 0/2] io_uring: fix compat sendmsg retry and SQE_MIXED fdinfo Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205104854.1207958-1-hang.zhengyang1010@gmail.com \
--to=hang.zhengyang1010@gmail.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicholas@carlini.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®