diff options
| author | 2022-09-23 02:42:51 +0200 | |
|---|---|---|
| committer | 2022-09-23 12:31:05 +0200 | |
| commit | e78a802a7b4febf53f2a92842f494b01062d85a8 (patch) | |
| tree | 8e6b445d2afa1e8111d6047c1d12ee48d601ac3b /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | random: throttle hwrng writes if no entropy is credited (diff) | |
| download | linux-dev-e78a802a7b4febf53f2a92842f494b01062d85a8.tar.xz linux-dev-e78a802a7b4febf53f2a92842f494b01062d85a8.zip | |
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 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
