From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:52909 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932280AbdIFOSF (ORCPT ); Wed, 6 Sep 2017 10:18:05 -0400 Date: Wed, 6 Sep 2017 16:18:04 +0200 From: Christoph Hellwig To: Benjamin Block Cc: Jens Axboe , Christoph Hellwig , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, "#4 . 11+" Subject: Re: [PATCH 1/2] bsg-lib: fix kernel panic resulting from missing allocation of reply-buffer Message-ID: <20170906141804.GA29765@lst.de> References: <20170906134416.19980-1-hch@lst.de> <20170906134416.19980-2-hch@lst.de> <42e9ef4d-6981-2b0c-bdc3-afb5b1750666@kernel.dk> <20170906141509.GB8702@bblock-ThinkPad-W530> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170906141509.GB8702@bblock-ThinkPad-W530> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Sep 06, 2017 at 04:15:09PM +0200, Benjamin Block wrote: > On Wed, Sep 06, 2017 at 08:07:43AM -0600, Jens Axboe wrote: > > On 09/06/2017 07:44 AM, Christoph Hellwig wrote: > > > From: Benjamin Block > > > > > > Since we split the scsi_request out of struct request bsg fails to > > > provide a reply-buffer for the drivers. This was done via the pointer > > > for sense-data, that is not preallocated anymore. > > > > Confused, this is already in master, was included before 4.13 was > > finalized. > > > > I think this is the backport for 4.11 and 4.12 as requested by Greg. I > just send a mail as answer that I would do it, but I guess Christoph > already had something in the pipe. > > Or? I'll take a look. No, I sent the wrong patch - this was in my queue before the patches I wanted to send.