From: Sagi Grimberg Date: Tue, 14 Apr 2015 15:08:13 +0000 (+0300) Subject: IB/iser: Fix wrong calculation of protection buffer length X-Git-Tag: omap-for-v4.2/o2_dc~38^2^3~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a065fe6aa25ba6ba93c02dc13486131bb3c64d5f;p=pandora-kernel.git IB/iser: Fix wrong calculation of protection buffer length This length miss-calculation may cause a silent data corruption in the DIX case and cause the device to reference unmapped area. Fixes: d77e65350f2d ('libiscsi, iser: Adjust data_length to include protection information') Signed-off-by: Sagi Grimberg Signed-off-by: Doug Ledford --- Reading git-diff-tree failed