Re: [PATCH net v2] octeontx2-af: fix CGX debugfs RVU AF PCI reference leaks
From: patchwork-bot+netdevbpf
Date: Wed Jun 24 2026 - 22:01:21 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 22 Jun 2026 09:12:29 +0530 you wrote:
> CGX per-lmac debugfs seq readers obtained struct rvu via
> pci_get_drvdata(pci_get_device(..., PCI_DEVID_OCTEONTX2_RVU_AF, ...)),
> which leaks a PCI device reference on every read. Store rvu and the CGX
> handle in debugfs inode private data when creating stats, mac_filter,
> and fwdata files (one context per CGX), and use debugfs aux numbers for
> fwdata so lmac_id matches the other CGX debugfs entries.
>
> [...]
Here is the summary with links:
- [net,v2] octeontx2-af: fix CGX debugfs RVU AF PCI reference leaks
https://git.kernel.org/netdev/net/c/469f4462ec83
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html