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
Kconfig -rw-r--r-- 814 bytes
Makefile -rw-r--r-- 371 bytes
aaci.c -rw-r--r-- 24.4 KB
aaci.h -rw-r--r-- 6.8 KB
pxa2xx-ac97-lib.c -rw-r--r-- 8.9 KB
pxa2xx-ac97.c -rw-r--r-- 6.9 KB
pxa2xx-pcm-lib.c -rw-r--r-- 7.1 KB

back to top