Re: [PATCH] netpoll: fix IPv6 local-address corruption

From: patchwork-bot+netdevbpf

Date: Mon Apr 27 2026 - 23:01:05 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 24 Apr 2026 08:31:16 -0700 you wrote:
> netpoll_setup() decides whether to auto-populate the local source
> address by testing np->local_ip.ip, which only inspects the first 4
> bytes of the union inet_addr storage.
>
> For an IPv6 netpoll whose caller-supplied local address has a zero
> high-32 bits (::1, ::<suffix>, IPv4-mapped ::ffff:a.b.c.d, etc.), this
> misdetects the address as unset (which they are not, but the first
> 4 bytes are empty), calls netpoll_take_ipv6() and overwrites it with
> whatever matching link-local/global address the device happens to expose
> first.
>
> [...]

Here is the summary with links:
- netpoll: fix IPv6 local-address corruption
https://git.kernel.org/netdev/net/c/3bc179bc7146

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html