linux/drivers/scsi/bnx2fc
Dan Carpenter 9ae4f8420e scsi: bnx2fc: Fix NULL dereference in error handling
If "interface" is NULL then we can't release it and trying to will only
lead to an Oops.

Fixes: aea71a0249 ("[SCSI] bnx2fc: Introduce interface structure for each vlan interface")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-12-07 22:23:41 -05:00
..
57xx_hsi_bnx2fc.h scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_constants.h scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_debug.c scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_debug.h scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_els.c scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_fcoe.c scsi: bnx2fc: Fix NULL dereference in error handling 2018-12-07 22:23:41 -05:00
bnx2fc_hwi.c scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 2018-01-10 23:25:09 -05:00
bnx2fc_io.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
bnx2fc_tgt.c scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 2018-01-10 23:25:09 -05:00
bnx2fc.h scsi: bnx2fc: remove obsolete bnx2fc_eh_host_reset() definition 2017-08-25 17:21:12 -04:00
Kconfig bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
Makefile [SCSI] bnx2fc: Reduce object size by consolidating formats 2012-07-20 08:58:17 +01:00