diff options
| author | Eric Dumazet <[email protected]> | 2021-08-25 23:17:29 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-26 09:20:34 +0000 |
| commit | 6457378fe796815c973f631a1904e147d6ee33b1 (patch) | |
| tree | a1011494e41faacba2c0d400f5c7554028d83489 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | ipv6: use siphash in rt6_exception_hash() (diff) | |
| download | kernel-6457378fe796815c973f631a1904e147d6ee33b1.tar.gz kernel-6457378fe796815c973f631a1904e147d6ee33b1.zip | |
ipv4: use siphash instead of Jenkins in fnhe_hashfun()
A group of security researchers brought to our attention
the weakness of hash function used in fnhe_hashfun().
Lets use siphash instead of Jenkins Hash, to considerably
reduce security risks.
Also remove the inline keyword, this really is distracting.
Fixes: d546c621542d ("ipv4: harden fnhe_hashfun()")
Signed-off-by: Eric Dumazet <[email protected]>
Reported-by: Keyu Man <[email protected]>
Cc: Willy Tarreau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
