From d77e65350f2d82dfa0557707d505711f5a43c8fd Mon Sep 17 00:00:00 2001 From: Sagi Grimberg Date: Wed, 11 Jun 2014 12:09:58 +0300 Subject: [PATCH] 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 Reviewed-by: Mike Christie Acked-by: Mike Christie Cc: stable@vger.kernel.org # 3.15+ Signed-off-by: Nicholas Bellinger --- Reading git-format-patch failed