diff options
author | Eric Dumazet <edumazet@google.com> | 2021-08-25 16:17:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-26 10:20:34 +0100 |
commit | 4785305c05b25a242e5314cc821f54ade4c18810 (patch) | |
tree | 97d15607963a33938c42b4bb5361aab12b34b38b /net/ipv4/tcp_timer.c | |
parent | 92ea47fe09b531642e5b791d74645a6f08b23725 (diff) |
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>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions