Re: [PATCH] lpfc: avoid double free of resource identifiers

From: Martin K. Petersen
Date: Wed Jan 11 2017 - 22:57:58 EST


>>>>> "Johannes" == Johannes Thumshirn <jthumshirn@xxxxxxx> writes:

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

Applied to 4.10/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering