Chandra Seetharaman 33af79d12e scsi_dh: Verify "dev" is a sdev before accessing it.
Before accessing the device data structure in hardware handlers,
make sure it is a indeed a sdev device.

Yinghai Lu <yhlu.kernel@gmail.com> found the bug on Jul 16, 2008,
and later tested/verified the following fix.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-16 17:54:21 -07:00
..
2008-06-15 11:12:20 -05:00
2008-06-20 14:05:58 -06:00
2008-01-11 18:22:30 -06:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-07-14 15:29:34 -06:00
2008-06-20 14:05:52 -06:00
2005-11-09 15:44:09 -05:00
2008-06-20 14:05:49 -06:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-07-16 20:33:48 +02:00
2008-01-11 18:27:59 -06:00
2008-01-30 13:03:40 -06:00
2008-01-30 13:14:02 -06:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2008-01-30 13:14:02 -06:00
2007-10-19 11:53:42 -07:00
2008-07-14 15:29:34 -06:00
2008-01-30 13:14:02 -06:00
2008-02-23 09:07:32 -06:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2008-06-05 09:23:45 -05:00
2008-06-24 12:02:27 -05:00
2008-07-04 09:52:14 +02:00
2008-02-07 18:02:44 -06:00
2008-07-14 15:29:34 -06:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00
2007-10-19 23:22:55 +02:00
2008-01-30 13:14:02 -06:00