diff options
author | Justin Tee <[email protected]> | 2024-07-26 16:15:08 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-08-02 21:48:05 -0400 |
commit | 3976beb1b410441bab9c3726e2ba76cc7a4c0b2d (patch) | |
tree | 8b5ff792f4809aa0e5592f2c8cdf25fe0fea5a20 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2be1d4f11944cd6283cb97268b3e17c4424945ca (diff) |
scsi: lpfc: Fix unintentional double clearing of vmid_flag
The vport->vmid_flag is unintentionally cleared twice after an issue_lip
via the lpfc_reinit_vmid routine().
The first call to lpfc_reinit_vmid() is in lpfc_cmpl_els_flogi(). Then
lpfc_cmpl_els_flogi_fabric() calls lpfc_register_new_vport(), which calls
lpfc_cmpl_reg_new_vport() when the mbox command completes and calls
lpfc_reinit_vmid() a second time.
Fix by moving the vmid_flag clear outside of the lpfc_reinit_vmid() routine
so that vmid_flag is only cleared once upon FLOGI completion.
Signed-off-by: Justin Tee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions