diff options
author | 2019-09-25 09:45:42 -0500 | |
---|---|---|
committer | 2019-10-01 11:34:55 -0300 | |
commit | 34b3be18a04ecdc610aae4c48e5d1b799d8689f6 (patch) | |
tree | 43afb02fa92d6fe44cc7feb5be1a4d44fcd809df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/core: Fix use after free and refcnt leak on ndev in_device in iwarp_query_port (diff) | |
download | linux-dev-34b3be18a04ecdc610aae4c48e5d1b799d8689f6.tar.xz linux-dev-34b3be18a04ecdc610aae4c48e5d1b799d8689f6.zip |
RDMA/hfi1: Prevent memory leak in sdma_init
In sdma_init if rhashtable_init fails the allocated memory for
tmp_sdma_rht should be released.
Fixes: 5a52a7acf7e2 ("IB/hfi1: NULL pointer dereference when freeing rhashtable")
Link: https://lore.kernel.org/r/20190925144543.10141-1-navid.emamdoost@gmail.com
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions