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: 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>
2018-12-07 22:23:41 -05:00
..
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2018-08-15 22:06:26 -07:00
2018-06-12 16:19:22 -07:00
2018-08-15 22:06:26 -07:00
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2018-10-25 07:40:30 -07:00
2017-12-04 20:32:53 -05:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-10-17 21:34:20 -04:00
2018-05-18 12:03:51 -04:00
2018-10-17 21:38:29 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-10-25 07:40:30 -07:00
2017-08-25 17:21:10 -04:00
2018-10-17 21:58:53 -04:00
2018-10-17 21:58:53 -04:00
2018-10-17 21:58:52 -04:00
2018-10-17 21:58:52 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-08-15 22:06:26 -07:00
2018-10-25 07:40:30 -07:00
2017-11-14 16:23:44 -08:00
2018-08-15 22:06:26 -07:00
2018-06-04 07:58:06 -07:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-05-01 23:30:12 -04:00