diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-09-23 02:42:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-09-23 12:31:05 +0200 |
commit | e78a802a7b4febf53f2a92842f494b01062d85a8 (patch) | |
tree | 8e6b445d2afa1e8111d6047c1d12ee48d601ac3b /include/net/iw_handler.h | |
parent | d775335e350fc07e1322960ee291dc9079ab938e (diff) | |
download | linux-e78a802a7b4febf53f2a92842f494b01062d85a8.tar.gz |
random: clamp credited irq bits to maximum mixed
Since the most that's mixed into the pool is sizeof(long)*2, don't
credit more than that many bytes of entropy.
Fixes: e3e33fc2ea7f ("random: do not use input pool from hard IRQs")
Cc: stable@vger.kernel.org
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include/net/iw_handler.h')
0 files changed, 0 insertions, 0 deletions