commit | 5c25d451163cab9be80744cbc5448d6b95ab8d1a | [log] [tgz] |
---|---|---|
author | Quinn Tran <quinn.tran@cavium.com> | Thu Dec 28 12:33:09 2017 -0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 03 23:41:04 2018 -0500 |
tree | 420cb05c1a14dc7310dc11fa2060dee47724edd1 | |
parent | b4e9ce1c24934d58dab342d5db6240f7312e2fff [diff] |
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>