aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2013-02-18 18:31:37 -0800
committerNicholas Bellinger <[email protected]>2013-02-18 18:47:28 -0800
commitfbbf8555a986ed31e54f006b6cc637ea4ff1425b (patch)
tree5e95a54ec56f9470b8269dd73b1ccff3d4653ef9 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentfcf29481fb8e106daad6688f2e898226ee928992 (diff)
target: Add missing mapped_lun bounds checking during make_mappedlun setup
This patch adds missing bounds checking for the configfs provided mapped_lun value during target_fabric_make_mappedlun() setup ahead of se_lun_acl initialization. This addresses a potential OOPs when using a mapped_lun value that exceeds the hardcoded TRANSPORT_MAX_LUNS_PER_TPG-1 value within se_node_acl->device_list[]. Reported-by: Jan Engelhardt <[email protected]> Cc: Jan Engelhardt <[email protected]> Cc: <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions