aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-08-25 16:17:29 -0700
committerDavid S. Miller <davem@davemloft.net>2021-08-26 10:20:34 +0100
commit6457378fe796815c973f631a1904e147d6ee33b1 (patch)
treea1011494e41faacba2c0d400f5c7554028d83489 /drivers/net/ethernet/intel/igc/igc_main.c
parent4785305c05b25a242e5314cc821f54ade4c18810 (diff)
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 <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>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions