Skip to content

Commit

Permalink
random: fix comment for unused random_min_urandom_seed
Browse files Browse the repository at this point in the history
The variable random_min_urandom_seed is not needed any more as it
defined the reseeding behavior of the nonblocking pool. Though it is not
needed any more, it is left in the code for user space interface
compatibility.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
  • Loading branch information
Stephan Müller authored and Theodore Ts'o committed Jan 19, 2017
1 parent 43d8a72 commit 5d0e5ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/char/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,7 @@ static int random_read_wakeup_bits = 64;
static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS;

/*
* The minimum number of seconds between urandom pool reseeding. We
* do this to limit the amount of entropy that can be drained from the
* input pool even if there are heavy demands on /dev/urandom.
* Variable is currently unused by left for user space compatibility.
*/
static int random_min_urandom_seed = 60;

Expand Down

0 comments on commit 5d0e5ea

Please sign in to comment.