[SCSI] lpfc 8.2.8 : Miscellaneous Discovery Fixes
Miscellaneous Discovery fixes: - Fix rejection followed by acceptance in handling RPL and RPS unsolicited events - Fix for vport delete crash - Fix PLOGI vs ADISC race condition Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:

committed by
James Bottomley

parent
e59058c440
commit
90160e010b
@@ -1580,14 +1580,6 @@ lpfc_cleanup(struct lpfc_vport *vport)
|
||||
lpfc_disc_state_machine(vport, ndlp, NULL,
|
||||
NLP_EVT_DEVICE_RM);
|
||||
|
||||
/* nlp_type zero is not defined, nlp_flag zero also not defined,
|
||||
* nlp_state is unused, this happens when
|
||||
* an initiator has logged
|
||||
* into us so cleanup this ndlp.
|
||||
*/
|
||||
if ((ndlp->nlp_type == 0) && (ndlp->nlp_flag == 0) &&
|
||||
(ndlp->nlp_state == 0))
|
||||
lpfc_nlp_put(ndlp);
|
||||
}
|
||||
|
||||
/* At this point, ALL ndlp's should be gone
|
||||
|
Reference in New Issue
Block a user