summaryrefslogtreecommitdiff
path: root/net/strparser
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-03-30 20:12:39 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2017-05-02 08:20:49 +0300
commit0e2eb7d12eaa8e391bf5615d4271bb87a649caaa (patch)
tree8c46d9fc3db0adfcdbb17f4c6ffc811a59309704 /net/strparser
parentd65e655706e4827fb061daff399e07806b1223ad (diff)
downloadlinux-0e2eb7d12eaa8e391bf5615d4271bb87a649caaa.tar.xz
target: Fix VERIFY and WRITE VERIFY command parsing
Use the value of the BYTCHK field to determine the size of the Data-Out buffer. For VERIFY, honor the VRPROTECT, DPO and FUA fields. This patch avoids that LIO complains about a mismatch between the expected transfer length and the SCSI CDB length if the value of the BYTCHK field is 0. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Max Lohrmann <post@wickenrode.com> Cc: <stable@vger.kernel.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions