Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipv4: use siphash instead of Jenkins in fnhe_hashfun()
ANBZ: torvalds#535 commit 6457378 ("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: d546c62 ("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]> Signed-off-by: Xuan Zhuo <[email protected]> Acked-by: Dust Li <[email protected]>
- Loading branch information