diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2016-12-23 18:06:11 -0800 |
---|---|---|
committer | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-17 11:26:56 -0800 |
commit | 5f35509db179ca7ed1feaa4b14f841adb06ed220 (patch) | |
tree | f5b4e6bc95ec09eed327291db14d45217ebb6e33 /tools | |
parent | fc1ffd6cb38a1c1af625b9833c41928039e733f5 (diff) |
qla2xxx: Terminate exchange if corrupted
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions