diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2017-05-25 04:06:19 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-25 04:55:50 +0300 |
commit | 0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66 (patch) | |
tree | 76603819541b8255fb78cef5487da94ca3628eaf /fs/nfs | |
parent | cb590700e04d4f59179c44f360217f5ad04ae262 (diff) | |
download | linux-0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66.tar.xz |
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: <stable@vger.kernel.org> # v4.11+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions