Re: [PATCH net-next 1/2] ppp: disconnect channel before nullifying pch->chan

[email protected] Tue, 17 Mar 2026 10:10:06 +0000
Newsgroups gmane.linux.ppp,gmane.linux.network,gmane.linux.kernel
Message-ID <177374220629.3541223.8549606798912448552.git-patchwork-notify@kernel.org>
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <[email protected]>:

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