diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-12-26 15:42:48 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-01-07 16:07:12 -0400 |
commit | a306aba9c8d869b1fdfc8ad9237f1ed718ea55e6 (patch) | |
tree | b9c7ca37323ef42d8a615271f3fab857833dcca9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c638cdb8ecc0442552156e0fed8708dd2c7f35b (diff) |
RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
If usnic_ib_qp_grp_create() fails at the first call, dev_list
will not be freed on error, which leads to memleak.
Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver")
Link: https://lore.kernel.org/r/20201226074248.2893-1-dinghao.liu@zju.edu.cn
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions