diff options
author | Dinghao Liu <[email protected]> | 2020-12-26 15:42:48 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-01-07 16:07:12 -0400 |
commit | a306aba9c8d869b1fdfc8ad9237f1ed718ea55e6 (patch) | |
tree | b9c7ca37323ef42d8a615271f3fab857833dcca9 /tools/perf/util/scripting-engines/trace-event-python.c | |
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/[email protected]
Signed-off-by: Dinghao Liu <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions