Files
twx-linux/drivers/scsi
Roberto Sassu be91b09750 scsi: lpfc: avoid double free of resource identifiers
[ Upstream commit cd60be4916 ]

Set variables initialized in lpfc_sli4_alloc_resource_identifiers() to
NULL if an error occurred. Otherwise, lpfc_sli4_driver_resource_unset()
attempts to free the memory again.

Signed-off-by: Roberto Sassu <rsassu@suse.de>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-05 14:37:20 +02:00
..
2016-04-12 09:08:39 -07:00
2015-11-09 17:11:57 -08:00
…
2015-11-09 17:11:57 -08:00
2015-11-12 07:06:18 -05:00
2017-04-08 09:53:31 +02:00
2017-03-18 19:09:58 +08:00
…
2015-11-12 07:06:18 -05:00
2015-11-12 07:06:18 -05:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2015-04-27 10:05:55 -07:00
2016-07-27 09:47:39 -07:00
…
…
…
…
…
…
…
2015-12-03 09:32:33 -08:00
…
…
2015-04-17 10:13:56 -07:00
…
…
…
2015-07-31 13:31:10 +02:00
…
…
…
…
2015-11-09 17:11:57 -08:00
…
2015-11-09 16:32:14 -08:00
…
…
…
…
2015-12-03 09:32:33 -08:00
2015-11-09 12:39:28 -05:00
2015-11-09 12:39:28 -05:00
…
…
…
…
2015-11-09 19:32:41 -05:00
2015-06-02 17:24:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-11-12 07:06:18 -05:00
…
…
…
2016-10-28 03:01:31 -04:00
2015-11-09 17:11:57 -08:00
…
…
…
…
2017-04-21 09:30:05 +02:00
…
2015-12-03 09:32:33 -08:00
2015-06-02 08:03:25 -07:00
2015-11-09 17:42:19 -08:00
…
…
…
…
…
…
…
…