]> git.karo-electronics.de Git - linux-beck.git/commit
IPoIB: Use the right function to do DMA unmap pages
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 18 Oct 2011 13:22:14 +0000 (15:22 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 18 Oct 2011 17:08:31 +0000 (10:08 -0700)
commit787adb9d6ad9afb498a1580a7d8ad05f779c488a
tree9ab5e25a27fac6b66b1af0c903f3f9cb4517a69c
parent976d167615b64e14bc1491ca51d424e2ba9a5e84
IPoIB: Use the right function to do DMA unmap pages

Pages that were mapped using ib_dma_map_page() should be unmapped
using ib_dma_unmap_page().

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c