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

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue May 26 19:20:05 PDT 2026


Hello:

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

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 at vger.kernel.org
> Signed-off-by: Haoxiang Li <lihaoxiang at isrc.iscas.ac.cn>
> 
> [...]

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





More information about the linux-arm-kernel mailing list