scsi: aacraid: fix illegal IO beyond last LBA
authorBalsundar P <balsundar.p@microsemi.com>
Tue, 15 Oct 2019 06:21:58 +0000 (11:51 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Oct 2019 23:34:17 +0000 (19:34 -0400)
commitc86fbe484c10b2cd1e770770db2d6b2c88801c1d
tree9e5ec468f7e160f6375bd268f3e1c3e40ab66c68
parent8cfb8e40d686a756428c627dccfaff28ca70dd8b
scsi: aacraid: fix illegal IO beyond last LBA

The driver fails to handle data when read or written beyond device reported
LBA, which triggers kernel panic

Link: https://lore.kernel.org/r/1571120524-6037-2-git-send-email-balsundar.p@microsemi.com
Signed-off-by: Balsundar P <balsundar.p@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c