diff options
| author | Hefty, Sean <[email protected]> | 2011-10-06 09:33:05 -0700 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2011-10-06 09:33:05 -0700 |
| commit | b7ab0b19a85fffaa04ad0b59471d3a607eef0a56 (patch) | |
| tree | e48057f49cf2c61d11e261e40b963ce79e1eaf12 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | f45ee80eb0dda1fbf32bf63189627a9e1e157a95 (diff) | |
IB/mad: Verify mgmt class in received MADs
If a received MAD contains an invalid or reserved mgmt class, we will
attempt to access method_table outside of its range. Add a check to
ensure that mgmt class falls within the handled range.
Found by code inspection.
Signed-off-by: Sean Hefty <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions