Re: [PATCH net-next] pppoe: use sk_node for session hash chains
From: patchwork-bot+netdevbpf
Date: Wed Nov 11 2026 - 20:00:29 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 10 Nov 2026 17:12:52 +0800 you wrote:
> PPPoE uses a private next pointer to chain sockets in each hash bucket.
> Removing a socket requires walking the chain to find its predecessor.
>
> Use sock.sk_node and the standard hlist helpers to allow constant-time
> removal and eliminate pppox_sock.next. Cache the bucket index in sk_hash
> before publishing the socket and use it to advance /proc/net/pppoe
> iteration between buckets.
>
> [...]
Here is the summary with links:
- [net-next] pppoe: use sk_node for session hash chains
https://git.kernel.org/netdev/net-next/c/7845123d30f9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html