From: Jens Axboe <axboe@kernel.dk>
To: Philipp Reisner <philipp.reisner@linbit.com>,
linux-kernel@vger.kernel.org
Cc: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [PATCH] drbd: fix NULL pointer deref in blk_add_request_payload
Date: Wed, 25 Jun 2014 09:56:24 -0600 [thread overview]
Message-ID: <53AAF128.1030800@kernel.dk> (raw)
In-Reply-To: <1403711558-27267-2-git-send-email-philipp.reisner@linbit.com>
On 06/25/2014 09:52 AM, Philipp Reisner wrote:
> From: Lars Ellenberg <lars.ellenberg@linbit.com>
>
> Discards don't have any payload.
> But the scsi layer still expects a bio_vec it can use internally,
> see sd_setup_discard_cmnd() and blk_add_request_payload().
>
> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Applied, thanks.
--
Jens Axboe
WARNING: multiple messages have this Message-ID (diff)
From: Jens Axboe <axboe@kernel.dk>
To: Philipp Reisner <philipp.reisner@linbit.com>,
linux-kernel@vger.kernel.org
Cc: drbd-dev@lists.linbit.com
Subject: Re: [PATCH] drbd: fix NULL pointer deref in blk_add_request_payload
Date: Wed, 25 Jun 2014 09:56:24 -0600 [thread overview]
Message-ID: <53AAF128.1030800@kernel.dk> (raw)
In-Reply-To: <1403711558-27267-2-git-send-email-philipp.reisner@linbit.com>
On 06/25/2014 09:52 AM, Philipp Reisner wrote:
> From: Lars Ellenberg <lars.ellenberg@linbit.com>
>
> Discards don't have any payload.
> But the scsi layer still expects a bio_vec it can use internally,
> see sd_setup_discard_cmnd() and blk_add_request_payload().
>
> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Applied, thanks.
--
Jens Axboe
next prev parent reply other threads:[~2014-06-25 16:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 15:52 [Drbd-dev] [PATCH] Fix DRBD regression Philipp Reisner
2014-06-25 15:52 ` Philipp Reisner
2014-06-25 15:52 ` [Drbd-dev] [PATCH] drbd: fix NULL pointer deref in blk_add_request_payload Philipp Reisner
2014-06-25 15:52 ` Philipp Reisner
2014-06-25 15:56 ` Jens Axboe [this message]
2014-06-25 15:56 ` 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=53AAF128.1030800@kernel.dk \
--to=axboe@kernel.dk \
--cc=drbd-dev@lists.linbit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=philipp.reisner@linbit.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 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.