Files
linux/drivers/scsi
James Bottomley 3b4b7c7588 fix oops in scsi_run_queue()
commit c055f5b261 upstream.

The recent commit closing the race window in device teardown:

commit 86cbfb5607
Author: James Bottomley <James.Bottomley@suse.de>
Date:   Fri Apr 22 10:39:59 2011 -0500

    [SCSI] put stricter guards on queue dead checks

is causing a potential NULL deref in scsi_run_queue() because the
q->queuedata may already be NULL by the time this function is called.
Since we shouldn't be running a queue that is being torn down, simply
add a NULL check in scsi_run_queue() to forestall this.

Tested-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:42 -07:00
..
2010-01-28 15:01:24 -08:00
2010-05-26 14:29:20 -07:00
2009-06-12 10:02:03 -05:00
2009-08-22 17:52:22 -05:00
2008-01-11 18:22:30 -06:00
2009-05-15 12:23:32 -04:00
2009-05-15 12:24:59 -04:00
2009-05-15 12:24:59 -04:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2008-10-16 16:52:06 +02:00
2009-08-22 17:51:50 -05:00
2009-10-31 12:11:38 -07:00
2008-12-29 11:24:14 -06:00
2008-08-29 02:13:10 -07:00
2010-11-22 10:47:38 -08:00
2008-10-09 08:56:13 +02:00
2010-01-06 15:03:11 -08:00
2008-12-28 20:00:03 +01:00
2009-06-15 10:09:30 -05:00
2008-01-30 13:14:02 -06:00
2009-09-26 10:17:19 -07:00
2008-01-30 13:14:02 -06:00
2011-05-09 15:55:42 -07:00
2008-10-23 11:42:17 -05:00
2008-07-02 15:06:25 -06:00
2008-02-07 18:02:44 -06:00
2010-01-06 15:03:13 -08:00
2010-01-06 15:03:13 -08:00
2008-10-23 11:42:19 -05:00
2007-10-19 23:22:55 +02:00