Eric Dumazet 6579f5bacc raw: use net_hash_mix() in hash function
Some applications seem to rely on RAW sockets.

If they use private netns, we can avoid piling all RAW
sockets bound to a given protocol into a single bucket.

Also place (struct raw_hashinfo).lock into its own
cache line to limit false sharing.

Alternative would be to have per-netns hashtables,
but this seems too expensive for most netns
where RAW sockets are not used.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-02-03 19:56:23 -08:00
..
2019-07-27 14:23:48 -07:00
2022-11-16 12:42:00 +00:00
2022-11-16 12:48:44 +00:00
2022-11-16 12:48:44 +00:00
2023-01-26 10:52:18 +01:00
2023-02-03 19:56:23 -08:00
2023-02-02 21:14:50 -08:00
2022-11-16 09:43:35 +00:00