From: Sagi Grimberg Date: Wed, 11 Jun 2014 09:09:58 +0000 (+0300) Subject: libiscsi, iser: Adjust data_length to include protection information X-Git-Tag: omap-for-v3.16/fixes-against-rc1~26^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d77e65350f2d82dfa0557707d505711f5a43c8fd;p=pandora-kernel.git 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-diff-tree failed