git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7c65d
)
scsi_dh: Verify "dev" is a sdev before accessing it.
author
Chandra Seetharaman
<sekharan@us.ibm.com>
Thu, 17 Jul 2008 00:35:08 +0000
(17:35 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 17 Jul 2008 00:54:21 +0000
(17:54 -0700)
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>
No differences found