scsi: lpfc: Fix PT2PT PRLI reject
authorDick Kennedy <dick.kennedy@broadcom.com>
Thu, 23 Mar 2017 12:47:18 +0000 (08:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:22:11 +0000 (14:22 +0100)
commit2849ef5dcefd73d7421fe6953c8f61bae2c208d4
tree86d7c2fb21a92b3fbf1b8da0854d160b9ddd7d6c
parentbc9aec2faddfea6d217e062cde0e6b221dfc521a
scsi: lpfc: Fix PT2PT PRLI reject

[ Upstream commit a71e3cdcfce4880a4578915e110e3eaed1659765 ]

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.

[mkp: applied by hand]

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: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_els.c