Re: [PATCH STABLE 5.10] RDMA/restrack: Release MR/QP restrack when delete
From: Greg KH
Date: Sat Nov 16 2024 - 05:26:10 EST
On Sat, Nov 16, 2024 at 05:57:48PM +0800, jiang.kun2@xxxxxxxxxx wrote:
> From: tuqiang <tu.qiang35@xxxxxxxxxx>
>
> The MR/QP restrack also needs to be released when delete it, otherwise it
> cause memory leak as the task struct won't be released.
>
> This problem has been fixed by the commit <dac153f2802d>
> ("RDMA/restrack: Release MR restrack when delete"), but still exists in the
> linux-5.10.y branch.
Why don't we just take the correct fix? Why is this needed instead?
thanks,
greg k-h