diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-05-11 09:23:08 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-05-11 10:01:05 +0200 |
commit | 984a9d4c40bed351a92ed31f0723a710444295da (patch) | |
tree | 8c6d4d75f51aa8e64a6c53e8f0891130c84184be /include/scsi | |
parent | IB/srpt: Avoid that aborting a command triggers a kernel warning (diff) | |
download | linux-984a9d4c40bed351a92ed31f0723a710444295da.tar.xz linux-984a9d4c40bed351a92ed31f0723a710444295da.zip |
Revert "target: Fix VERIFY and WRITE VERIFY command parsing"
This reverts commit 0e2eb7d12eaa8e391bf5615d4271bb87a649caaa
Author: Bart Van Assche <bart.vanassche@sandisk.com>
Date: Thu Mar 30 10:12:39 2017 -0700
target: Fix VERIFY and WRITE VERIFY command parsing
This patch broke existing behaviour for WRITE_VERIFY because
it dropped the original SCF_SCSI_DATA_CDB assignment for
bytchk = 0 so target_cmd_size_check() no longer rejected
this case, allowing an overflow case to trigger an OOPs
in iscsi-target.
Since the short term and long term fixes are still being
discussed, revert it for now since it's late in the merge
window and try again in v4.13-rc1.
Conflicts:
drivers/target/target_core_sbc.c
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions