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 <edumazet@google.com> Reported-by: Keyu Man <kman001@ucr.edu> Cc: Willy Tarreau <w@1wt.eu> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Dust Li <dust.li@linux.alibaba.com>
- Loading branch information