summaryrefslogtreecommitdiff
path: root/net/ipv6/mcast_snoop.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-08-26 02:17:28 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-26 12:20:34 +0300
commit4785305c05b25a242e5314cc821f54ade4c18810 (patch)
tree97d15607963a33938c42b4bb5361aab12b34b38b /net/ipv6/mcast_snoop.c
parent92ea47fe09b531642e5b791d74645a6f08b23725 (diff)
downloadlinux-4785305c05b25a242e5314cc821f54ade4c18810.tar.xz
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/ipv6/mcast_snoop.c')
0 files changed, 0 insertions, 0 deletions