aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDotan Barak <[email protected]>2016-06-22 17:27:31 +0300
committerDoug Ledford <[email protected]>2016-06-23 10:08:25 -0400
commit5b420d9cf7382c6e1512e96e02d18842d272049c (patch)
tree7d735e58d3408ec34a8a3fbff8184b2ef9386dd5 /tools/perf/scripts/python/net_dropmonitor.py
parent5533c18ab02b17a7f2ac11908e2d97d4b421617d (diff)
IB/mlx4: Fix memory leak if QP creation failed
When RC, UC, or RAW QPs are created, a qp object is allocated (kzalloc). If at a later point (in procedure create_qp_common) the qp creation fails, this qp object must be freed. Fixes: 1ffeb2eb8be99 ("IB/mlx4: SR-IOV IB context objects and proxy/tunnel SQP support") Signed-off-by: Dotan Barak <[email protected]> Signed-off-by: Jack Morgenstein <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions