diff options
author | Maor Gottlieb <[email protected]> | 2020-05-21 10:26:50 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-05-22 15:37:19 -0300 |
commit | 63a3345c2d42a9b29e1ce2d3a4043689b3995cea (patch) | |
tree | a7e84e74dce147daff8a151793d58140c1ca3945 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 47393fb57ba7b914c869f70010326c8b8940c3a0 (diff) |
IB/cma: Fix ports memory leak in cma_configfs
The allocated ports structure in never freed. The free function should be
called by release_cma_ports_group, but the group is never released since
we don't remove its default group.
Remove default groups when device group is deleted.
Fixes: 045959db65c6 ("IB/cma: Add configfs for rdma_cm")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maor Gottlieb <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions