diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-11-01 08:25:30 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-07 22:23:41 -0500 |
| commit | 9ae4f8420ed7be4b13c96600e3568c144d101a23 (patch) | |
| tree | fde8005b2163ebd820874638ba6ff552b642cc78 /lib/mpi/mpi-bit.c | |
| parent | c64a87f9518409d0a439895f09f6149ffdd427b8 (diff) | |
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
