diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2008-07-16 17:35:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-16 17:54:21 -0700 |
commit | 33af79d12e0fa25545d49e86afc67ea8ad5f2f40 (patch) | |
tree | 9e76151b895d102d1978df3afc58248a2adbf5dd /include/net/ndisc.h | |
parent | dc7c65db2845a8d17432d89252c4227a9a7cb15f (diff) |
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>
Diffstat (limited to 'include/net/ndisc.h')
0 files changed, 0 insertions, 0 deletions