diff options
| author | Quinn Tran <[email protected]> | 2016-12-24 02:06:11 +0000 |
|---|---|---|
| committer | Bart Van Assche <[email protected]> | 2017-01-17 19:26:56 +0000 |
| commit | 5f35509db179ca7ed1feaa4b14f841adb06ed220 (patch) | |
| tree | f5b4e6bc95ec09eed327291db14d45217ebb6e33 /security/selinux/hooks.c | |
| parent | qla2xxx: Fix crash due to null pointer access (diff) | |
| download | kernel-5f35509db179ca7ed1feaa4b14f841adb06ed220.tar.gz kernel-5f35509db179ca7ed1feaa4b14f841adb06ed220.zip | |
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 <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
[ bvanassche: Fixed spelling in patch title ]
Signed-off-by: Bart Van Assche <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
