Commit 9b8ca048 authored by Alexandre Ferrieux's avatar Alexandre Ferrieux Committed by Jakub Kicinski
Browse files

ipv4: avoid quadratic behavior in FIB insertion of common address



Mix netns into all IPv4 FIB hashes to avoid massive collision when
inserting the same address in many netns.

Signed-off-by: default avatarAlexandre Ferrieux <alexandre.ferrieux@orange.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Reviewed-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20241001231438.3855035-1-alexandre.ferrieux@orange.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 35d8471e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment