]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Fix PT2PT PRLI reject (reapply patch)
authorJames Smart <james.smart@broadcom.com>
Wed, 12 Jul 2017 22:28:24 +0000 (18:28 -0400)
committerBrian Maly <brian.maly@oracle.com>
Mon, 4 Feb 2019 21:38:57 +0000 (16:38 -0500)
commitc53014e4d7755b33f675e139b8359d94ebe0c04b
tree5c3926e90007e4436c6fcd0b3c6ce53d26a9a0a4
parent9c4d9674bb8079bc0565481064abfdfb1c845bc9
scsi: lpfc: Fix PT2PT PRLI reject (reapply patch)

[backport of 114e80db15039e248eb4e458559cef57737930a8]
From: rkennedy <dick.kennedy@avagotech.com>

Orabug: 29281346

lpfc cannot establish connection with targets that send PRLI in P2P
configurations.

If lpfc rejects a PRLI that is sent from a target the target will not
resend and will reject the PRLI send from the initiator.

[tv: original mistakenly applied in reverse, because change was already
present in the code at that point; this reapplies forwards]

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
Reviewed-by: Fred Herard <fred.herard@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/lpfc/lpfc_els.c