diff options
author | Stephan Müller <smueller@chronox.de> | 2023-05-25 19:00:05 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-02 18:21:32 +0800 |
commit | d23659769ad1bf2cbafaa0efcbae20ef1a74f77e (patch) | |
tree | 698531f49ca3ed40e973fd9e799cb04d6acd6581 /drivers/parport/BUGS-parport | |
parent | 506579e88caf882b91ff2c62a203af793f468183 (diff) | |
download | linux-stable-d23659769ad1bf2cbafaa0efcbae20ef1a74f77e.tar.gz linux-stable-d23659769ad1bf2cbafaa0efcbae20ef1a74f77e.tar.bz2 linux-stable-d23659769ad1bf2cbafaa0efcbae20ef1a74f77e.zip |
crypto: jitter - correct health test during initialization
With the update of the permanent and intermittent health errors, the
actual indicator for the health test indicates a potential error only
for the one offending time stamp gathered in the current iteration
round. The next iteration round will "overwrite" the health test result.
Thus, the entropy collection loop in jent_gen_entropy checks for
the health test failure upon each loop iteration. However, the
initialization operation checked for the APT health test once for
an APT window which implies it would not catch most errors.
Thus, the check for all health errors is now invoked unconditionally
during each loop iteration for the startup test.
With the change, the error JENT_ERCT becomes unused as all health
errors are only reported with the JENT_HEALTH return code. This
allows the removal of the error indicator.
Fixes: 3fde2fe99aa6 ("crypto: jitter - permanent and intermittent health errors"
)
Reported-by: Joachim Vandersmissen <git@jvdsn.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/parport/BUGS-parport')
0 files changed, 0 insertions, 0 deletions