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-07-14 15:29:34 -06:00
2008-06-20 14:05:52 -06:00
2008-06-20 14:05:49 -06:00
2008-07-16 20:33:48 +02:00
2008-07-14 15:29:34 -06: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-07-14 15:29:34 -06:00