IB/iser: DMA unmap TX bufs used for iSCSI/iSER headers
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 3 Nov 2011 22:21:27 +0000 (00:21 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 4 Nov 2011 16:32:44 +0000 (09:32 -0700)
The current driver never does DMA unmapping on these buffers.  Fix that
by adding DMA unmapping to the task cleanup callback, and DMA mapping to
the task init function (drop the headers_initialized micro-optimization).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found