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
busses
muxes
dev-interface.rst -rw-r--r-- 8.6 KB
dma-considerations.rst -rw-r--r-- 3.6 KB
fault-codes.rst -rw-r--r-- 5.1 KB
functionality.rst -rw-r--r-- 6.4 KB
gpio-fault-injection.rst -rw-r--r-- 6.0 KB
i2c-protocol.rst -rw-r--r-- 3.3 KB
i2c-stub.rst -rw-r--r-- 2.3 KB
i2c-topology.rst -rw-r--r-- 15.8 KB
i2c_bus.svg -rw-r--r-- 54.7 KB
index.rst -rw-r--r-- 912 bytes
instantiating-devices.rst -rw-r--r-- 10.0 KB
old-module-parameters.rst -rw-r--r-- 2.1 KB
slave-eeprom-backend.rst -rw-r--r-- 1005 bytes
slave-interface.rst -rw-r--r-- 7.7 KB
smbus-protocol.rst -rw-r--r-- 9.6 KB
summary.rst -rw-r--r-- 2.6 KB
ten-bit-addresses.rst -rw-r--r-- 1.6 KB
upgrading-clients.rst -rw-r--r-- 7.1 KB
writing-clients.rst -rw-r--r-- 15.2 KB

back to top