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

2017-01-11 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn 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

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

2017-01-11 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn 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.

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

2017-01-11 Thread James Smart
looks good. Thanks Signed-off-by: James Smart -- james On 1/11/2017 2:06 AM, Johannes Thumshirn wrote: From: Roberto Sassu Set variables initialized in lpfc_sli4_alloc_resource_identifiers() to NULL if an error occurred. Otherwise,

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

2017-01-11 Thread James Smart
looks good. Thanks Signed-off-by: James Smart -- james On 1/11/2017 2:06 AM, Johannes Thumshirn wrote: From: Roberto Sassu 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

[PATCH] lpfc: avoid double free of resource identifiers

2017-01-11 Thread Johannes Thumshirn
From: Roberto Sassu 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 Signed-off-by: Johannes Thumshirn

[PATCH] lpfc: avoid double free of resource identifiers

2017-01-11 Thread Johannes Thumshirn
From: Roberto Sassu 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 Signed-off-by: Johannes Thumshirn ---