diff options
author | Bill Kuzeja <[email protected]> | 2019-03-04 08:25:46 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-03-06 19:26:45 -0500 |
commit | db0f166e9a37215b15d5d732c98fa15219adccf0 (patch) | |
tree | e95bcbcb6ce35df0b8f61cbb6f62ea8f1f0de979 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 31b6a05f86e690e1818116fd23c3be915cc9d9ed (diff) |
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 <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions