linux-stable/drivers/scsi/bnx2fc
Dan Carpenter 627fdfac78 scsi: bnx2fc: Fix NULL dereference in error handling
[ Upstream commit 9ae4f8420e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-01-13 10:03:48 +01:00
..
57xx_hsi_bnx2fc.h
bnx2fc.h scsi: bnx2fc: fix race condition in bnx2fc_get_host_stats() 2018-04-13 19:48:05 +02:00
bnx2fc_constants.h
bnx2fc_debug.c
bnx2fc_debug.h
bnx2fc_els.c
bnx2fc_fcoe.c scsi: bnx2fc: Fix NULL dereference in error handling 2019-01-13 10:03:48 +01:00
bnx2fc_hwi.c
bnx2fc_io.c scsi: bnx2fc: Fix check in SCSI completion handler for timed out request 2018-05-25 16:13:06 +02:00
bnx2fc_tgt.c
Kconfig
Makefile