Eric Dumazet 4785305c05 ipv6: use siphash in rt6_exception_hash()
A group of security researchers brought to our attention
the weakness of hash function used in rt6_exception_hash()

Lets use siphash instead of Jenkins Hash, to considerably
reduce security risks.

Following patch deals with IPv4.

Fixes: 35732d01fe31 ("ipv6: introduce a hash table to store dst cache")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Keyu Man <kman001@ucr.edu>
Cc: Wei Wang <weiwan@google.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Acked-by: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-26 10:20:34 +01:00
..
2021-06-11 14:48:50 +02:00
2019-07-27 14:23:48 -07:00
2021-06-11 14:48:50 +02:00
2020-03-29 22:30:57 -07:00
2021-06-29 11:28:21 -07:00
2021-04-29 15:34:15 -07:00
2020-12-16 11:01:04 -08:00
2021-07-21 08:49:31 -07:00