]> git.karo-electronics.de Git - linux-beck.git/commit
IB/mlx5: Fix error handling in reg_umr
authorHaggai Eran <haggaie@mellanox.com>
Thu, 22 May 2014 11:50:08 +0000 (14:50 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:53:05 +0000 (11:53 -0700)
commit096f7e72c604e983e14b84b84fc37593fc433585
tree540e07929db39577906f4c529f32a57d5b9e7039
parentc7f44fbda68a6b2d6ceb10e45c711750e779bace
IB/mlx5: Fix error handling in reg_umr

If ib_post_send fails when posting the UMR work request in reg_umr,
the code doesn't release the temporary pas buffer allocated, and
doesn't dma_unmap it.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/mr.c