diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2016-12-24 02:06:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-05 12:40:20 (GMT) |
commit | 8cfcaa2899f322fa602e903e983389fd1de36fe8 (patch) | |
tree | 6b1e0b7c00b0a45f8b0a7dd15eaaa226431a6462 /mm/early_ioremap.c | |
parent | 42a1d5b47594eb846f709f6558082919dabc7344 (diff) | |
download | linux-8cfcaa2899f322fa602e903e983389fd1de36fe8.tar.xz |
qla2xxx: Terminate exchange if corrupted
[ Upstream commit 5f35509db179ca7ed1feaa4b14f841adb06ed220 ]
Corrupted ATIO is defined as length of fcp_header & fcp_cmd
payload is less than 0x38. It's the minimum size for a frame to
carry 8..16 bytes SCSI CDB. The exchange will be dropped or
terminated if corrupted.
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[ bvanassche: Fixed spelling in patch title ]
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions