Re: [PATCH net-next 1/2] ppp: disconnect channel before nullifying pch->chan
From: patchwork-bot+netdevbpf
Date: Tue Mar 17 2026 - 06:12:59 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 12 Mar 2026 17:37:30 +0800 you wrote:
> In ppp_unregister_channel(), pch->chan is set to NULL before calling
> ppp_disconnect_channel(), which removes the channel from ppp->channels
> list using list_del_rcu() + synchronize_net(). This creates an
> intermediate state where the channel is still connected (on the list)
> but already unregistered (pch->chan == NULL).
>
> Call ppp_disconnect_channel() before setting pch->chan to NULL. After
> the synchronize_net(), no new reader on the transmit path will hold a
> reference to the channel from the list.
>
> [...]
Here is the summary with links:
- [net-next,1/2] ppp: disconnect channel before nullifying pch->chan
https://git.kernel.org/netdev/net-next/c/6a196e83a1a7
- [net-next,2/2] ppp: remove pch->chan NULL checks from tx path
https://git.kernel.org/netdev/net-next/c/febe8012458f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html