public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriel Krisman Bertazi <krisman@suse.de>
To: Aohan Mei <ljp1205831794@gmail.com>, io-uring@vger.kernel.org
Cc: axboe@kernel.dk, Aohan Mei <henrymei@tencent.com>,
	TencentOS Corvus AI <corvus@tencent.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH] io_uring/net: commit all consumed buffers on bundle recv retry
Date: Wed, 02 Sep 2026 12:31:34 -0300	[thread overview]
Message-ID: <871pbb7jqh.fsf@mailhost.krisman.be> (raw)
In-Reply-To: <20260902022552.1890610-1-ljp1205831794@gmail.com>

Aohan Mei <ljp1205831794@gmail.com> writes:

> This leaves bl->head accounting for only the first partial round
> rather than all consumed buffers. Buffers that already hold
> received data stay visible in the ring and are handed out again
> to later requests, corrupting or dropping application data.

Hi, Aohan. Do you have a reproducer for this issue?

-- 
Gabriel Krisman Bertazi

      reply	other threads:[~2026-09-02 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02  2:25 [PATCH] io_uring/net: commit all consumed buffers on bundle recv retry Aohan Mei
2026-09-02 15:31 ` Gabriel Krisman Bertazi [this message]

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=871pbb7jqh.fsf@mailhost.krisman.be \
    --to=krisman@suse.de \
    --cc=axboe@kernel.dk \
    --cc=corvus@tencent.com \
    --cc=henrymei@tencent.com \
    --cc=io-uring@vger.kernel.org \
    --cc=ljp1205831794@gmail.com \
    --cc=stable@vger.kernel.org \
    /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