All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH] io_uring: fix io_prep_async_link locking
Date: Wed, 28 Jul 2021 13:49:41 -0600	[thread overview]
Message-ID: <bb914c80-0ff9-7e20-e5e9-96c90055e7e1@kernel.dk> (raw)
In-Reply-To: <93f7c617e2b4f012a2a175b3dab6bc2f27cebc48.1627304436.git.asml.silence@gmail.com>

On 7/26/21 7:14 AM, Pavel Begunkov wrote:
> io_prep_async_link() may be called after arming a linked timeout,
> automatically making it unsafe to traverse the linked list. Guard
> with completion_lock if there was a linked timeout.

Don't seem to have emailed this out, but I did apply this the other
day. Thanks!

-- 
Jens Axboe


      reply	other threads:[~2021-07-28 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26 13:14 [PATCH] io_uring: fix io_prep_async_link locking Pavel Begunkov
2021-07-28 19:49 ` 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=bb914c80-0ff9-7e20-e5e9-96c90055e7e1@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@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.