Re: [PATCH net-next v2] udp: Deal with race between UDP socket address change and rehash

patchwork-bot+netdevbpf
2024-12-23T11:50:11Z

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed, 18 Dec 2024 17:21:16 +0100 you wrote:
> If a UDP socket changes its local address while it's receiving
> datagrams, as a result of connect(), there is a period during which
> a lookup operation might fail to find it, after the address is changed
> but before the secondary hash (port and address) and the four-tuple
> hash (local and remote ports and addresses) are updated.
>
> Secondary hash chains were introduced by commit 30fff9231fad ("udp:
> bind() optimisation") and, as a result, a rehash operation became
> needed to make a bound socket reachable again after a connect().
>
> [...]

Here is the summary with links:
- [net-next,v2] udp: Deal with race between UDP socket address change and rehash
https://git.kernel.org/netdev/net-next/c/a502ea6fa94b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.