diff options
author | Nicholas Bellinger | 2013-11-25 14:53:57 -0800 |
---|---|---|
committer | Nicholas Bellinger | 2013-12-11 10:59:57 -0800 |
commit | 4454b66cb67f14c33cd70ddcf0ff4985b26324b7 (patch) | |
tree | 422e1d53e728930ba71fc5339b385e618354e891 /block | |
parent | a51d5229d10dd3a337b674ce8603437d2996c5c3 (diff) |
iscsi-target: Fix-up all zero data-length CDBs with R/W_BIT set
This patch changes special case handling for ISCSI_OP_SCSI_CMD
where an initiator sends a zero length Expected Data Transfer
Length (EDTL), but still sets the WRITE and/or READ flag bits
when no payload transfer is requested.
Many, many moons ago two special cases where added for an ancient
version of ESX that has long since been fixed, so instead of adding
a new special case for the reported bug with a Broadcom 57800 NIC,
go ahead and always strip off the incorrect WRITE + READ flag bits.
Also, avoid sending a reject here, as RFC-3720 does mandate this
case be handled without protocol error.
Reported-by: Witold Bazakbal <865perl@wp.pl>
Tested-by: Witold Bazakbal <865perl@wp.pl>
Cc: <stable@vger.kernel.org> #3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions