diff options
| author | Gary R Hook <[email protected]> | 2017-12-15 13:55:59 -0600 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2017-12-22 20:03:36 +1100 |
| commit | 0e4b52942b1c76f89e0dcb829f72e123d0678f54 (patch) | |
| tree | e7d0865a5ff09837efbba4ca00596312c1277166 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 871df319bd48acb4ce48b8985136c8ba40af3a02 (diff) | |
hwrng: core - Clean up RNG list when last hwrng is unregistered
Commit 142a27f0a731 added support for a "best" RNG, and in doing so
introduced a hang from rmmod/modprobe -r when the last RNG on the list
was unloaded.
When the hwrng list is depleted, return the global variables to their
original state and decrement all references to the object.
Fixes: 142a27f0a731 ("hwrng: core - Reset user selected rng by writing "" to rng_current")
Signed-off-by: Gary R Hook <[email protected]>
Reviewed-by: PrasannaKumar Muralidharan <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions