diff options
| author | Quinn Tran <quinn.tran@cavium.com> | 2016-12-24 05:06:11 +0300 |
|---|---|---|
| committer | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-17 22:26:56 +0300 |
| commit | 5f35509db179ca7ed1feaa4b14f841adb06ed220 (patch) | |
| tree | f5b4e6bc95ec09eed327291db14d45217ebb6e33 /lib/mpi/mpi-cmp.c | |
| parent | fc1ffd6cb38a1c1af625b9833c41928039e733f5 (diff) | |
| download | linux-5f35509db179ca7ed1feaa4b14f841adb06ed220.tar.xz | |
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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
