Re: [PATCH] net: thunderx: fix PTP device ref leak in nicvf_probe()

From: patchwork-bot+netdevbpf

Date: Tue May 26 2026 - 22:20:09 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 25 May 2026 16:26:11 +0800 you wrote:
> cavium_ptp_get() acquires a reference to the PTP PCI device
> through pci_get_device(). If any initialization step fails
> after cavium_ptp_get(), the PTP PCI device reference is leaked.
> Add a common error path to release the PTP reference before
> returning from probe failures.
>
> Fixes: 4a8755096466 ("net: thunderx: add timestamping support")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Haoxiang Li <lihaoxiang@xxxxxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: thunderx: fix PTP device ref leak in nicvf_probe()
https://git.kernel.org/netdev/net-next/c/2bcf59eefb9f

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