summaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-06-07 22:47:13 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-06-19 22:06:28 -0400
commitd48ad080ec0101c2cca92926bed64993ab565c3d (patch)
tree85a3211479e495739ba9a2763cf2a8095e70f87f /net/core/neighbour.c
parentae5b806a3d3c23d9d3b57aecbe687a0bd82ab086 (diff)
downloadop-kernel-dev-d48ad080ec0101c2cca92926bed64993ab565c3d.zip
op-kernel-dev-d48ad080ec0101c2cca92926bed64993ab565c3d.tar.gz
rhashtable: use get_random_u32 for hash_rnd
This is much faster and just as secure. It also has the added benefit of probably returning better randomness at early-boot on systems with architectural RNGs. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Cc: Thomas Graf <tgraf@suug.ch> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'net/core/neighbour.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud