Re: [PATCH net v2] ptp: vclock: Switch from RCU to SRCU

From: patchwork-bot+netdevbpf

Date: Wed Jun 03 2026 - 22:13:35 EST


Hello:

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

On Fri, 29 May 2026 19:11:47 +0200 you wrote:
> The usage of PTP vClocks leads immediately to the following issues with
> ptp4l with LOCKDEP and DEBUG_ATOMIC_SLEEP enabled: "BUG: sleeping function
> called from invalid context".
>
> ptp_convert_timestamp() acquires a mutex_t within a RCU read section. This
> is illegal, because acquiring a mutex_t can result in voluntary scheduling
> request which is not allowed within a RCU read section.
>
> [...]

Here is the summary with links:
- [net,v2] ptp: vclock: Switch from RCU to SRCU
https://git.kernel.org/netdev/net/c/672bd0519e27

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