linux/drivers/scsi/elx/libefc
Dmitry Bogdanov ee3dce9f38 scsi: efct: Fix nport free
nport_free for an empty nport hangs the state machine waiting for mbox
completion if nport is not yet attached thinking that it is attaching right
now.  Add a check for nport attaching state and complete nport free.

Link: https://lore.kernel.org/r/20210914105539.6942-3-d.bogdanov@yadro.com
Reviewed-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-09-22 00:04:55 -04:00
..
efc_cmds.c scsi: efct: Fix nport free 2021-09-22 00:04:55 -04:00
efc_cmds.h scsi: elx: libefc: Register discovery objects with hardware 2021-06-15 23:39:30 -04:00
efc_device.c scsi: elx: libefc: Fix less than zero comparison of a unsigned int 2021-06-18 23:01:04 -04:00
efc_device.h scsi: elx: libefc: FC node ELS and state handling 2021-06-15 23:39:30 -04:00
efc_domain.c scsi: elx: libefc: Fix IRQ restore in efc_domain_dispatch_frame() 2021-06-18 23:01:04 -04:00
efc_domain.h scsi: elx: libefc: FC Domain state machine interfaces 2021-06-15 23:39:30 -04:00
efc_els.c scsi: elx: libefc: Extended link Service I/O handling 2021-06-15 23:39:30 -04:00
efc_els.h scsi: elx: libefc: Extended link Service I/O handling 2021-06-15 23:39:30 -04:00
efc_fabric.c scsi: elx: libefc: Prefer kcalloc() over open coded arithmetic 2021-09-14 23:33:22 -04:00
efc_fabric.h scsi: elx: libefc: Fabric node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_node.c scsi: elx: libefc: Remote node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_node.h scsi: elx: libefc: Remote node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_nport.c scsi: elx: libefc: SLI and FC PORT state machine interfaces 2021-06-15 23:39:30 -04:00
efc_nport.h scsi: elx: libefc: SLI and FC PORT state machine interfaces 2021-06-15 23:39:30 -04:00
efc_sm.c
efc_sm.h
efc.h scsi: efct: Add state in nport sm trace printout 2021-09-22 00:04:55 -04:00
efclib.c
efclib.h scsi: efct: Fix nport free 2021-09-22 00:04:55 -04:00