]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jul 2021 12:35:13 +0000 (14:35 +0200)
commit9c90d8e67d4937507a3c74e0ed5aa02995bf8886
treef0712121d947c8a7031cd8f77c99de4d6fbad8cc
parentd473c3c9230fe6b6082b4d88e2ae50ad3d36d078
scsi: libfc: Fix array index out of bound exception

[ Upstream commit b27c4577557045f1ab3cdfeabfc7f3cd24aca1fe ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/libfc/fc_rport.c