diff options
author | 2018-11-01 08:25:30 +0300 | |
---|---|---|
committer | 2018-12-07 22:23:41 -0500 | |
commit | 9ae4f8420ed7be4b13c96600e3568c144d101a23 (patch) | |
tree | fde8005b2163ebd820874638ba6ff552b642cc78 /include/linux/tick.h | |
parent | Revert "scsi: qla2xxx: Fix NVMe Target discovery" (diff) | |
download | linux-dev-9ae4f8420ed7be4b13c96600e3568c144d101a23.tar.xz linux-dev-9ae4f8420ed7be4b13c96600e3568c144d101a23.zip |
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: aea71a024914 ("[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>
Diffstat (limited to 'include/linux/tick.h')
0 files changed, 0 insertions, 0 deletions