From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: possible use-after-free in 2.5.44 scsi changes Date: Sun, 27 Oct 2002 15:37:32 -0600 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <200210272137.g9RLbW413689@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: (from root@localhost) by pogo.mtv1.steeleye.com (8.9.3/8.9.3) id NAA31694 for ; Sun, 27 Oct 2002 13:37:42 -0800 In-Reply-To: Message from Jens Axboe of "Sun, 27 Oct 2002 22:20:35 +0100." <20021027212035.GM3966@suse.de> List-Id: linux-scsi@vger.kernel.org To: Jens Axboe Cc: James Bottomley , Badari Pulavarty , Andrew Morton , "linux-scsi@vger.kernel.org" , "Martin J. Bligh" , Doug Ledford axboe@suse.de said: > Sure that would suffice, but lets just move to the prep approach right > away. First just the global one, later we can do one per device type. OK, will do. SCSI currently needs the ability to bail on a request preparation in such a way that the request will get re-queued for preparation (out of command blocks or other resource shortage), which I believe you're working on. The per device type is more tricky because SCSI can have more than one upper level driver driving the device queue. James