diff options
author | Quinn Tran <[email protected]> | 2017-05-24 18:06:19 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-05-24 21:55:50 -0400 |
commit | 0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66 (patch) | |
tree | 76603819541b8255fb78cef5487da94ca3628eaf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cb590700e04d4f59179c44f360217f5ad04ae262 (diff) |
scsi: qla2xxx: Fix NULL pointer access due to redundant fc_host_port_name call
Remove redundant fc_host_port_name calls to prevent early access of
scsi_host->shost_data buffer. This prevent null pointer access.
Following stack trace is seen:
BUG: unable to handle kernel NULL pointer dereference at 00000000000008
IP: qla24xx_report_id_acquisition+0x22d/0x3a0 [qla2xxx]
Cc: <[email protected]> # v4.11+
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions