]> Git Repo - linux.git/commit
ipv4: avoid quadratic behavior in FIB insertion of common address
authorAlexandre Ferrieux <[email protected]>
Tue, 1 Oct 2024 23:14:38 +0000 (01:14 +0200)
committerJakub Kicinski <[email protected]>
Thu, 3 Oct 2024 23:15:30 +0000 (16:15 -0700)
commit9b8ca04854fd1253a58aeb1bd089c191cb5a074c
tree864c3637dd2d07fdbece66e62493470d1dfade9c
parent35d8471e242d93ae5ef76580df2ebb92ce35e144
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: Alexandre Ferrieux <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
net/ipv4/fib_semantics.c
This page took 0.0529 seconds and 4 git commands to generate.