Re: [PATCH] infiniband: core: fix memory leak

From: Jason Gunthorpe
Date: Mon Jun 07 2021 - 19:45:10 EST


On Sun, Jun 06, 2021 at 08:21:51AM +0300, Leon Romanovsky wrote:

> I think that better fix is:
> https://lore.kernel.org/linux-rdma/f72e27d5c82cd9beec7670141afa62786836c569.1622956637.git.leonro@xxxxxxxxxx/T/#u

Can you resend that with the bug report in the comment?

What is the issue? Some error path missed a restrack_del? which one?

And I still dislike that patch for adding restrack_del and undoing the
previous patch which was trying to get rid of it, but if it actually
fixes a bug...

Jason