linux/drivers/scsi/qla2xxx
Quinn Tran 5c25d45116 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>
2018-01-03 23:41:04 -05:00
..
Kconfig scsi: qla2xxx: avoid unused-function warning 2017-07-01 17:14:58 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_attr.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_bsg.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_bsg.h qla2xxx: Add bsg interface to support statistics counter reset. 2016-07-15 15:35:37 -04:00
qla_dbg.c scsi: qla2xxx: Remove potential macro parameter side-effect in ql_dump_regs() 2017-08-24 22:29:28 -04:00
qla_dbg.h scsi: qla2xxx: Include Exchange offload/Extended Login into FW dump 2017-06-27 21:21:41 -04:00
qla_def.h scsi: qla2xxx: Fix Relogin being triggered too fast 2017-12-07 21:07:05 -05:00
qla_devtbl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_dfs.c scsi: qla2xxx: Move target stat counters from vha to qpair. 2017-06-27 21:21:41 -04:00
qla_fw.h scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_gbl.h SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
qla_gs.c scsi: qla2xxx: Suppress gcc 7 fall-through warnings 2017-12-11 21:50:29 -05:00
qla_init.c scsi: qla2xxx: Fix NULL pointer access for fcport structure 2018-01-03 23:41:04 -05:00
qla_inline.h scsi: qla2xxx: Convert timers to use timer_setup() 2017-11-08 15:51:35 -08:00
qla_iocb.c scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout. 2017-12-07 21:07:09 -05:00
qla_isr.c scsi: qla2xxx: Suppress gcc 7 fall-through warnings 2017-12-11 21:50:29 -05:00
qla_mbx.c scsi: qla2xxx: Fix PRLI state check 2017-12-07 21:07:06 -05:00
qla_mid.c scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que 2017-12-20 21:11:52 -05:00
qla_mr.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_mr.h
qla_nvme.c qla2xxx: remove use of FC-specific error codes 2017-09-25 08:56:05 -06:00
qla_nvme.h scsi: qla2xxx: Move function prototype to correct header 2017-08-07 14:04:02 -04:00
qla_nx2.c scsi: qla2xxx: remove duplicate includes 2017-12-11 21:52:38 -05:00
qla_nx2.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx.h scsi: qla2xxx: remove writeq/readq function definitions 2017-06-12 20:48:08 -04:00
qla_os.c scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref 2017-12-07 21:07:09 -05:00
qla_settings.h
qla_sup.c scsi: qla2xxx: Suppress gcc 7 fall-through warnings 2017-12-11 21:50:29 -05:00
qla_target.c scsi: qla2xxx: Suppress gcc 7 fall-through warnings 2017-12-11 21:50:29 -05:00
qla_target.h scsi: qla2xxx: Cleanup NPIV host in target mode during config teardown 2017-08-24 22:29:30 -04:00
qla_tmpl.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_tmpl.h
qla_version.h scsi: qla2xxx: Update driver version to 10.00.00.03-k 2017-12-07 21:07:11 -05:00
tcm_qla2xxx.c qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2) 2017-07-30 16:48:43 -07:00
tcm_qla2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00