On Thu, May 21, 2020 at 10:26:50AM +0300, Leon Romanovsky wrote: > From: Maor Gottlieb <maorg@xxxxxxxxxxxx> > > 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") > Signed-off-by: Maor Gottlieb <maorg@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/core/cma_configfs.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) Applied to for-next, thanks Jason