Revision fb448ce87a4a9482b084e67faf804aec79ed9b43 authored by Leon Romanovsky on 30 July 2020, 08:27:19 UTC, committed by Jason Gunthorpe on 30 July 2020, 14:03:33 UTC
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>
1 parent 5d46b28
History
File Mode Size
core_locking.rst -rw-r--r-- 4.1 KB
index.rst -rw-r--r-- 266 bytes
ipoib.rst -rw-r--r-- 4.4 KB
opa_vnic.rst -rw-r--r-- 7.4 KB
sysfs.rst -rw-r--r-- 119 bytes
tag_matching.rst -rw-r--r-- 3.6 KB
user_mad.rst -rw-r--r-- 5.3 KB
user_verbs.rst -rw-r--r-- 3.0 KB

back to top