Re: [PATCH] ptp: Add error handling for adjfine callback in ptp_clock_adjtime
From: patchwork-bot+netdevbpf
Date: Sat Nov 30 2024 - 16:50:27 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 25 Nov 2024 10:59:54 +0000 you wrote:
> ptp_clock_adjtime sets ptp->dialed_frequency even when adjfine
> callback returns an error. This causes subsequent reads to return
> an incorrect value.
>
> Fix this by adding error check before ptp->dialed_frequency is set.
>
> Fixes: 39a8cbd9ca05 ("ptp: remember the adjusted frequency")
> Signed-off-by: Ajay Kaher <ajay.kaher@xxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- ptp: Add error handling for adjfine callback in ptp_clock_adjtime
https://git.kernel.org/netdev/net/c/98337d7c8757
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html