Re: [PATCH net-next] ppp: require callers of ppp_dev_name() to hold RCU
[email protected] Tue, 17 Mar 2026 23:30:05 +0000
| Newsgroups | org.kernel.vger.linux-ppp,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <177379020554.55920.7311741308449112878.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>: On Mon, 16 Mar 2026 17:28:23 +0800 you wrote: > ppp_dev_name() holds the RCU read lock internally to protect pch->ppp. > However, as it returns netdev->name to the caller, the caller should > also hold either RCU or RTNL lock to prevent the netdev from being > freed. > > The only two references of the function is in the L2TP driver, both of > which already hold RCU. So remove the internal RCU lock and document > that callers must hold RCU. > > [...] Here is the summary with links: - [net-next] ppp: require callers of ppp_dev_name() to hold RCU https://git.kernel.org/netdev/net-next/c/bb8539e0e609 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html