random: rate limit unseeded randomness warnings
authorTheodore Ts'o <tytso@mit.edu>
Wed, 25 Apr 2018 05:12:32 +0000 (01:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2018 22:13:04 +0000 (15:13 -0700)
commit17e20c8b5a2c0165516f9595e6ef65471326d532
tree2a37333ea063a416d71369e830ef4ef638491e6d
parentc3ff2da5cef05676d490fa9057b2dceb5e48cdb9
random: rate limit unseeded randomness warnings

commit 4e00b339e264802851aff8e73cde7d24b57b18ce upstream.

On systems without sufficient boot randomness, no point spamming dmesg.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c