From: Or Gerlitz Date: Thu, 3 Nov 2011 22:19:46 +0000 (+0200) Subject: IB/iser: Use separate buffers for the login request/response X-Git-Tag: v3.2-rc1~53^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c4ce609347f2a45792c8d9ebb5af11217766cb6;p=pandora-kernel.git IB/iser: Use separate buffers for the login request/response The driver counted on the transactional nature of iSCSI login/text flows and used the same buffer for both the request and the response. We also went further and did DMA mapping only once, with DMA_FROM_DEVICE, which violates the DMA mapping API. Fix that by using different buffers, one for requests and one for responses, and use the correct DMA mapping direction for each. Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed