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)
commite6e53e126470f2d39b2c3e3d1b428ca92424e19d
tree9e5ec468f7e160f6375bd268f3e1c3e40ab66c68
parent778b4384745e85baf3fd2c9b22f36ec3c9f2a539
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