aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-10-17 18:41:00 -0700
committerPaolo Abeni <[email protected]>2024-10-23 13:17:35 +0200
commitc972c1c41d9b20fb38b54e77dcee763e27e715a9 (patch)
tree32cf93781e6608687bbeea13262263e51841b085 /tools/perf/scripts/python/gecko.py
parent7213a1c417d2c690de2c5aaa05b9dbec0d68a1b1 (diff)
ipv4: Switch inet_addr_hash() to less predictable hash.
Recently, commit 4a0ec2aa0704 ("ipv6: switch inet6_addr_hash() to less predictable hash") and commit 4daf4dc275f1 ("ipv6: switch inet6_acaddr_hash() to less predictable hash") hardened IPv6 address hash functions. inet_addr_hash() is also highly predictable, and a malicious use could abuse a specific bucket. Let's follow the change on IPv4 by using jhash_1word(). Signed-off-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions