Re: [PATCH 02/15] lpfc: Fix system crash when port is reset.

Hannes Reinecke
2017-05-11T06:05:29Z

On 05/10/2017 09:07 PM, James Smart wrote:
> The driver panic when using the els_wq during port reset.
>
> Check for NULL els_wq before dereferencing.
>
> Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
> Signed-off-by: James Smart <james.smart@broadcom.com>
> ---
> drivers/scsi/lpfc/lpfc.h | 8 ++++++--
> drivers/scsi/lpfc/lpfc_hbadisc.c | 6 +++---
> 2 files changed, 9 insertions(+), 5 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)