diff options
author | Bill Kuzeja <William.Kuzeja@stratus.com> | 2019-03-04 08:25:46 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-06 19:26:45 -0500 |
commit | db0f166e9a37215b15d5d732c98fa15219adccf0 (patch) | |
tree | e95bcbcb6ce35df0b8f61cbb6f62ea8f1f0de979 /net | |
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 <william.kuzeja@stratus.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions