From: Sagi Grimberg Date: Mon, 26 Jan 2015 10:49:06 +0000 (+0200) Subject: iscsi-target: Don't over-allocate sendtargets text resp buffer X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~13^2~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7dcfb683dd7646050666d1f6597ba413a68b22;p=pandora-kernel.git iscsi-target: Don't over-allocate sendtargets text resp buffer No reason to allocate a buffer of size bigger than initiator MaxRecvDataSegmentLength. Moreover, we need to respect initiator MRDSL and not send a larger payload. Signed-off-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed