summaryrefslogtreecommitdiffstats
path: root/drivers/target/loopback/tcm_loop.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-06-11 11:09:58 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2014-06-11 22:06:45 +0200
commitd77e65350f2d82dfa0557707d505711f5a43c8fd (patch)
tree04adddbd63d60ebdaae4ee5a7c320dd6b9412d76 /drivers/target/loopback/tcm_loop.c
parentscsi_cmnd: Introduce scsi_transfer_length helper (diff)
downloadlinux-d77e65350f2d82dfa0557707d505711f5a43c8fd.tar.xz
linux-d77e65350f2d82dfa0557707d505711f5a43c8fd.zip
libiscsi, iser: Adjust data_length to include protection information
In case protection information exists over the wire iscsi header data length is required to include it. Use protection information aware scsi helpers to set the correct transfer length. In order to avoid breakage, remove iser transfer length checks for each task as they are not always true and somewhat redundant anyway. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Cc: stable@vger.kernel.org # 3.15+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/loopback/tcm_loop.c')
0 files changed, 0 insertions, 0 deletions