Commit 6f81582
scsi: lpfc: Ensure unregistration of rpis for received PLOGIs
Unregistration of an rpi object should be done when a PLOGI is received
as PLOGI receipt implies an implicit LOGO. Previously, the driver would
continue using the same, already registered, rpi and ACC the received
PLOGI.
Replace the ACC and early return statement with break to execute the
rest of the lpfc_rcv_plogi logic outside the switch case statement.
This ensures unregistration and reregistration of an rpi after PLOGI_ACC
completion.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20251106224639.139176-5-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 3c22806 commit 6f81582
2 files changed
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3263 | 3263 | | |
3264 | 3264 | | |
3265 | 3265 | | |
3266 | | - | |
| 3266 | + | |
3267 | 3267 | | |
3268 | 3268 | | |
3269 | 3269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
| 455 | + | |
467 | 456 | | |
468 | 457 | | |
469 | 458 | | |
| |||
485 | 474 | | |
486 | 475 | | |
487 | 476 | | |
488 | | - | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
489 | 480 | | |
490 | 481 | | |
491 | 482 | | |
| |||
0 commit comments