From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail09.linbit.com (LINBIT Mail Daemon) with ESMTPS id 482D1101AC78 for ; Wed, 25 Jun 2014 18:01:24 +0200 (CEST) Received: by mail-pb0-f44.google.com with SMTP id md12so1886268pbc.31 for ; Wed, 25 Jun 2014 09:01:23 -0700 (PDT) Message-ID: <53AAF128.1030800@kernel.dk> Date: Wed, 25 Jun 2014 09:56:24 -0600 From: Jens Axboe MIME-Version: 1.0 To: Philipp Reisner , linux-kernel@vger.kernel.org References: <1403711558-27267-1-git-send-email-philipp.reisner@linbit.com> <1403711558-27267-2-git-send-email-philipp.reisner@linbit.com> In-Reply-To: <1403711558-27267-2-git-send-email-philipp.reisner@linbit.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] [PATCH] drbd: fix NULL pointer deref in blk_add_request_payload List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 06/25/2014 09:52 AM, Philipp Reisner wrote: > From: Lars Ellenberg > > 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 > Signed-off-by: Lars Ellenberg Applied, thanks. -- Jens Axboe