diff options
| author | Quinn Tran <[email protected]> | 2017-05-25 01:06:19 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-05-25 01:55:50 +0000 |
| commit | 0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66 (patch) | |
| tree | 76603819541b8255fb78cef5487da94ca3628eaf /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | scsi: qla2xxx: Fix recursive loop during target mode configuration for ISP25X... (diff) | |
| download | kernel-0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66.tar.gz kernel-0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66.zip | |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
