Re: [PATCH] mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure
From: patchwork-bot+netdevbpf
Date: Tue Nov 10 2026 - 13:25:05 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 3 Nov 2026 10:28:51 +0000 you wrote:
> mlxsw_sp1_ptp_mtpppc_update() increases the global parsing depth
> reference count before writing the MTPPPC register when timestamping
> is enabled for the first time. If the register write fails, the
> reference count remains elevated even though no timestamping
> configuration was installed, and nothing will ever release it.
>
> Drop the reference count again when the write fails. Also only drop it
> when disabling timestamping after the write succeeded, so that the
> reference count always matches the programmed state.
>
> [...]
Here is the summary with links:
- mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure
https://git.kernel.org/netdev/net-next/c/1dadb4afc18c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html