diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2011-11-04 00:19:46 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-11-04 09:30:52 -0700 |
commit | 2c4ce609347f2a45792c8d9ebb5af11217766cb6 (patch) | |
tree | a78125a35d5a277d395003651b4241eafc7dd52d /lib/mpi/mpi-div.c | |
parent | f470f8d4e702593ee1d0852871ad80373bce707b (diff) |
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 <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions