From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: m@bjorling.me, linux-block@vger.kernel.org
Subject: Re: [PATCH] block: fix use after free in __blkdev_direct_IO
Date: Tue, 24 Jan 2017 07:56:07 -0700 [thread overview]
Message-ID: <03114a65-d54f-f3c5-5fc8-cf761e9b0ddc@kernel.dk> (raw)
In-Reply-To: <1485265819-2403-1-git-send-email-hch@lst.de>
On 01/24/2017 06:50 AM, Christoph Hellwig wrote:
> We can't dereference the dio structure after submitting the last bio for
> this request, as I/O completion might have happened before the code is
> run. Introduce a local is_sync variable instead.
Applied.
--
Jens Axboe
prev parent reply other threads:[~2017-01-24 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 13:50 [PATCH] block: fix use after free in __blkdev_direct_IO Christoph Hellwig
2017-01-24 14:56 ` 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=03114a65-d54f-f3c5-5fc8-cf761e9b0ddc@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=m@bjorling.me \
/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