diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-07-30 11:27:19 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-30 17:03:33 +0300 |
commit | fb448ce87a4a9482b084e67faf804aec79ed9b43 (patch) | |
tree | 59d9c6a8888601f619e5812638a0086483ac3f7a /COPYING | |
parent | 5d46b289d04b98eb992b2f8b67745cc0953e16b1 (diff) | |
download | linux-fb448ce87a4a9482b084e67faf804aec79ed9b43.tar.xz |
RDMA/core: Free DIM memory in error unwind
The memory allocated for the DIM wasn't freed in in error unwind path, fix
it by calling to rdma_dim_destroy().
Fixes: da6629793aa6 ("RDMA/core: Provide RDMA DIM support for ULPs")
Link: https://lore.kernel.org/r/20200730082719.1582397-4-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com <mailto:maxg@mellanox.com>>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions