Re: [PATCH net] net: micrel: Fix receiving the timestamp in the frame for lan8841
From: patchwork-bot+netdevbpf
Date: Tue May 14 2024 - 08:40:46 EST
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Mon, 13 May 2024 21:21:57 +0200 you wrote:
> The blamed commit started to use the ptp workqueue to get the second
> part of the timestamp. And when the port was set down, then this
> workqueue is stopped. But if the config option NETWORK_PHY_TIMESTAMPING
> is not enabled, then the ptp_clock is not initialized so then it would
> crash when it would try to access the delayed work.
> So then basically by setting up and then down the port, it would crash.
> The fix consists in checking if the ptp_clock is initialized and only
> then cancel the delayed work.
>
> [...]
Here is the summary with links:
- [net] net: micrel: Fix receiving the timestamp in the frame for lan8841
https://git.kernel.org/netdev/net/c/aea27a92a41d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html