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
kvm
uml
guest-halt-polling.rst -rw-r--r-- 2.3 KB
index.rst -rw-r--r-- 305 bytes
paravirt_ops.rst -rw-r--r-- 1.5 KB

back to top