aboutsummaryrefslogtreecommitdiff
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorimoseyon <imoseyon@gmail.com>2014-12-14 10:36:51 -0800
committerMoyster <oysterized@gmail.com>2016-09-10 12:06:52 +0200
commite9c9fff8d3d4e053157db364ae4840882ab30eac (patch)
tree43be6a1fd3e2e87290c8820c896c468a4b09e7b2 /net/core/neighbour.c
parentb245cbd5c6ae4cfa0fea4f61b84efc0d2397df78 (diff)
random: sprinkle e/f/prandom in places that deplete entropy often
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r--net/core/neighbour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index b49e8bafa..c0bdf4857 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -310,7 +310,7 @@ out_entries:
static void neigh_get_hash_rnd(u32 *x)
{
- get_random_bytes(x, sizeof(*x));
+ prandom_bytes(x, sizeof(*x));
*x |= 1;
}