commit | 619122be3d40c835eb5fad9e326780909926495d | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Mon May 20 09:43:53 2019 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue May 21 15:25:37 2019 -0300 |
tree | 736bb617053a779e81ad5652a4d806799a5eae03 | |
parent | dc1435c00fcd102c9803cd6120701ba5547138d5 [diff] |
RDMA/hns: Fix PD memory leak for internal allocation free_pd is allocated internally by the driver hence needs to be freed internally too or it leaks. Fixes: 21a428a019c9 ("RDMA: Handle PD allocations by IB/core") Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>