scsi: libfc: Fix array index out of bound exception
authorJaved Hasan <jhasan@marvell.com>
Tue, 15 Jun 2021 16:59:39 +0000 (09:59 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jun 2021 02:31:16 +0000 (22:31 -0400)
commitb27c4577557045f1ab3cdfeabfc7f3cd24aca1fe
treef24eb29f403a6eb5ecd877e7bcfa8b498f670ffb
parent2506f5dcb8282aa7adf77965ef147bb5b68973e3
scsi: libfc: Fix array index out of bound exception

Fix array index out of bound exception in fc_rport_prli_resp().

Link: https://lore.kernel.org/r/20210615165939.24327-1-jhasan@marvell.com
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c