Navid Emamdoost 34b3be18a0 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>
2019-10-01 11:34:55 -03:00
..
2019-06-28 22:34:26 -03:00
2019-06-28 22:34:26 -03:00
2018-05-24 09:39:25 -06:00
2019-08-20 13:44:45 -04:00
2019-05-06 12:57:45 -03:00
2019-02-05 18:07:43 -05:00
2019-04-24 11:31:49 -03:00
2019-06-28 22:34:26 -03:00
2019-06-28 21:18:23 -03:00
2019-02-05 18:07:44 -05:00
2019-03-28 11:03:49 -03:00
2019-01-31 11:37:40 -05:00
2019-01-31 11:37:40 -05:00
2019-07-22 16:10:48 -03:00
2019-05-09 09:02:46 -07:00
2019-07-30 14:21:32 -07:00