Subject: [PATCH v2 net 0/2] ipv4: avoid pathological hash tables

From: Eric Dumazet <[email-masked]>
Date: Wed, 19 Jan 2022 02:04:11 -0800

From: Eric Dumazet <[email-masked]>

This series speeds up netns dismantles on hosts
having many active netns, by making sure two hash tables
used for IPV4 fib contains uniformly spread items.

v2: changed second patch to add fib_info_laddrhash_bucket()
    for consistency (David Ahern suggestion).

Eric Dumazet (2):
  ipv4: avoid quadratic behavior in netns dismantle
  ipv4: add net_hash_mix() dispersion to fib_info_laddrhash keys

 net/ipv4/fib_semantics.c | 65 ++++++++++++++++++++--------------------
 1 file changed, 32 insertions(+), 33 deletions(-)

-- 
2.34.1.703.g22d0c6ccf7-goog