[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161731920983.16404.61942789615445016.git-patchwork-notify@kernel.org>
Date: Thu, 01 Apr 2021 23:20:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Otto Hollmann <otto.hollmann@...e.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, corbet@....net, dsahern@...nel.org,
mkubecek@...e.cz, edumazet@...gle.com
Subject: Re: [PATCH net-next] net: document a side effect of
ip_local_reserved_ports
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 1 Apr 2021 17:57:05 +0200 you wrote:
> If there is overlapp between ip_local_port_range and ip_local_reserved_ports with a huge reserved block, it will affect probability of selecting ephemeral ports, see file net/ipv4/inet_hashtables.c:723
>
> int __inet_hash_connect(
> ...
> for (i = 0; i < remaining; i += 2, port += 2) {
> if (unlikely(port >= high))
> port -= remaining;
> if (inet_is_local_reserved_port(net, port))
> continue;
>
> [...]
Here is the summary with links:
- [net-next] net: document a side effect of ip_local_reserved_ports
https://git.kernel.org/netdev/net-next/c/a7a80b17c750
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists