Re: [PATCH net-next] net: document a side effect of ip_local_reserved_ports

2021-04-01 Thread patchwork-bot+netdevbpf
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 fil

[PATCH net-next] net: document a side effect of ip_local_reserved_ports

2021-04-01 Thread Otto Hollmann
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 +