summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2013-02-08 10:57:58 +0400
committerJames Bottomley <JBottomley@Parallels.com>2013-02-22 18:11:46 +0400
commit4ac8d4ca5d8d3bb98072be2961dd2e937e05bb11 (patch)
tree4073e0385d0411e24737e900291176ea6a86ca5d /tools/perf/scripts/python/sched-migration.py
parent827210ba2a368058c72cf93e66d7d8aeb55922eb (diff)
downloadlinux-4ac8d4ca5d8d3bb98072be2961dd2e937e05bb11.tar.xz
[SCSI] qla2xxx: Correct list-iteration bug in Report-ID Acquisition codes.
Code in qla24xx_report_id_acquisition() incorrectly assumed that upon completion of list iteration (with no match), the 'pos' (vp) variable passed to list_for_each_entry() would be set to NULL. In this context, if the firmware were to return an unrecognized vp_idx, the follow-on assignments to vp-members could result in corruption of the structure. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions