Unverified Commit b26c5614 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5519 scsi: lpfc: Fix a possible data race in lpfc_unregister_fcf_rescan()

parents a6281729 750a61fd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6790,7 +6790,9 @@ lpfc_unregister_fcf_rescan(struct lpfc_hba *phba)
	if (rc)
		return;
	/* Reset HBA FCF states after successful unregister FCF */
	spin_lock_irq(&phba->hbalock);
	phba->fcf.fcf_flag = 0;
	spin_unlock_irq(&phba->hbalock);
	phba->fcf.current_rec.flag = 0;

	/*