Re: [PATCH net] l2tp: send netlink notifications in the tunnel's net namespace
| Newsgroups | org.kernel.vger.stable,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178667785939.3150297.10317133569625215552.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>: On Sun, 9 Aug 2026 17:42:52 +0800 you wrote: > l2tp_tunnel_notify() and l2tp_session_notify() use > genlmsg_multicast_allns(), which delivers to listeners in every network > namespace. l2tp is per-namespace, and a tunnel records the namespace it > belongs to in tunnel->l2tp_net. Each event concerns one namespace, yet > every namespace is told about it. A tunnel event carries the tunnel and > peer tunnel ids, plus the socket's addresses with both ports for a UDP > tunnel. A session event carries the session and peer session ids, the > interface name, plus the L2TP cookies where those are set. A listener > needs no privilege for any of this, because l2tp_multicast_group[] > carries no flags and genl_bind() asks for no capability. > > [...] Here is the summary with links: - [net] l2tp: send netlink notifications in the tunnel's net namespace https://git.kernel.org/netdev/net-next/c/ed267f783c0c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html