diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-05-20 09:43:53 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-21 21:25:37 +0300 |
commit | 619122be3d40c835eb5fad9e326780909926495d (patch) | |
tree | 736bb617053a779e81ad5652a4d806799a5eae03 /net/switchdev/switchdev.c | |
parent | dc1435c00fcd102c9803cd6120701ba5547138d5 (diff) | |
download | linux-619122be3d40c835eb5fad9e326780909926495d.tar.xz |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions