diff options
author | 2019-03-04 08:25:46 -0500 | |
---|---|---|
committer | 2019-03-06 19:26:45 -0500 | |
commit | db0f166e9a37215b15d5d732c98fa15219adccf0 (patch) | |
tree | e95bcbcb6ce35df0b8f61cbb6f62ea8f1f0de979 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | scsi: megaraid_sas: reduce module load time (diff) | |
download | wireguard-linux-db0f166e9a37215b15d5d732c98fa15219adccf0.tar.xz wireguard-linux-db0f166e9a37215b15d5d732c98fa15219adccf0.zip |
scsi: qla2xxx: Fix panic in qla_dfs_tgt_counters_show
When trying to display tgt_counters in the debugfs, a panic can result.
There is no null check for qpair after it is assigned in the for-loop.
Unless vha->hw->queue_pair_map array is completely filled with entries, the
system will panic dereferencing a null pointer.
Signed-off-by: Bill Kuzeja <william.kuzeja@stratus.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions