diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-08-24 21:49:45 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:53 -0400 |
commit | 90160e010b6f3a91a9bb044bbe6723731e6f366c (patch) | |
tree | 8320400d5bed96f1976cef88adcad647fcb48f9e /drivers/scsi/lpfc/lpfc_init.c | |
parent | e59058c44025d71c9b7f260076a932935d3bba95 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index b9d553c2ac4d..93fd09daca87 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -1580,14 +1580,6 @@ lpfc_cleanup(struct lpfc_vport *vport) | |||
1580 | lpfc_disc_state_machine(vport, ndlp, NULL, | 1580 | lpfc_disc_state_machine(vport, ndlp, NULL, |
1581 | NLP_EVT_DEVICE_RM); | 1581 | NLP_EVT_DEVICE_RM); |
1582 | 1582 | ||
1583 | /* nlp_type zero is not defined, nlp_flag zero also not defined, | ||
1584 | * nlp_state is unused, this happens when | ||
1585 | * an initiator has logged | ||
1586 | * into us so cleanup this ndlp. | ||
1587 | */ | ||
1588 | if ((ndlp->nlp_type == 0) && (ndlp->nlp_flag == 0) && | ||
1589 | (ndlp->nlp_state == 0)) | ||
1590 | lpfc_nlp_put(ndlp); | ||
1591 | } | 1583 | } |
1592 | 1584 | ||
1593 | /* At this point, ALL ndlp's should be gone | 1585 | /* At this point, ALL ndlp's should be gone |