diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2017-12-28 21:33:09 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-04 05:41:04 +0100 |
commit | 5c25d451163cab9be80744cbc5448d6b95ab8d1a (patch) | |
tree | 420cb05c1a14dc7310dc11fa2060dee47724edd1 /drivers/scsi/qla2xxx/qla_def.h | |
parent | scsi: hpsa: drop unneeded newline (diff) | |
download | linux-5c25d451163cab9be80744cbc5448d6b95ab8d1a.tar.xz linux-5c25d451163cab9be80744cbc5448d6b95ab8d1a.zip |
scsi: qla2xxx: Fix NULL pointer access for fcport structure
when processing iocb in a timeout case, driver was trying to log messages
without verifying if the fcport structure could have valid data. This
results in a NULL pointer access.
Fixes: 726b85487067("qla2xxx: Add framework for async fabric discovery")
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 'drivers/scsi/qla2xxx/qla_def.h')
0 files changed, 0 insertions, 0 deletions