All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org, Stefan Metzmacher <metze@samba.org>,
	asml.silence@gmail.com
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 1/1] io_uring/net: fix fast_iov assignment in io_setup_async_msg()
Date: Thu, 29 Sep 2022 07:13:02 -0600	[thread overview]
Message-ID: <166445718246.10317.17940058168765174614.b4-ty@kernel.dk> (raw)
In-Reply-To: <b2e7be246e2fb173520862b0c7098e55767567a2.1664436949.git.metze@samba.org>

On Thu, 29 Sep 2022 09:39:10 +0200, Stefan Metzmacher wrote:
> I hit a very bad problem during my tests of SENDMSG_ZC.
> BUG(); in first_iovec_segment() triggered very easily.
> The problem was io_setup_async_msg() in the partial retry case,
> which seems to happen more often with _ZC.
> 
> iov_iter_iovec_advance() may change i->iov in order to have i->iov_offset
> being only relative to the first element.
> 
> [...]

Applied, thanks!

[1/1] io_uring/net: fix fast_iov assignment in io_setup_async_msg()
      commit: 3e4cb6ebbb2bad201c1186bc0b7e8cf41dd7f7e6

Best regards,
-- 
Jens Axboe



      parent reply	other threads:[~2022-09-29 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1664436949.git.metze@samba.org>
2022-09-29  7:39 ` [PATCH 1/1] io_uring/net: fix fast_iov assignment in io_setup_async_msg() Stefan Metzmacher
2022-09-29 12:53   ` Pavel Begunkov
2022-09-29 13:13   ` Jens Axboe [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=166445718246.10317.17940058168765174614.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    --cc=metze@samba.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.