Re: [net PATCH] octeontx2-pf: Fix resource leakage in VF driver unbind

From: Leon Romanovsky
Date: Tue Jan 10 2023 - 05:29:17 EST


On Tue, Jan 10, 2023 at 10:20:15AM +0000, patchwork-bot+netdevbpf@xxxxxxxxxx wrote:
> Hello:
>
> This patch was applied to netdev/net.git (master)
> by Paolo Abeni <pabeni@xxxxxxxxxx>:
>
> On Mon, 9 Jan 2023 11:43:25 +0530 you wrote:
> > resources allocated like mcam entries to support the Ntuple feature
> > and hash tables for the tc feature are not getting freed in driver
> > unbind. This patch fixes the issue.
> >
> > Fixes: 2da489432747 ("octeontx2-pf: devlink params support to set mcam entry count")
> > Signed-off-by: Hariprasad Kelam <hkelam@xxxxxxxxxxx>
> > Signed-off-by: Sunil Kovvuri Goutham <sgoutham@xxxxxxxxxxx>
> >
> > [...]
>
> Here is the summary with links:
> - [net] octeontx2-pf: Fix resource leakage in VF driver unbind
> https://git.kernel.org/netdev/net/c/53da7aec3298

Paolo,

I don't think that this patch should be applied.

It looks like wrong Fixes to me and I don't see clearly how structures
were allocated on VF which were cleared in this patch.

Thanks

>
> You are awesome, thank you!
> --
> Deet-doot-dot, I am a bot.
> https://korg.docs.kernel.org/patchwork/pwbot.html
>
>