summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-12-23 16:40:18 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-12-26 08:33:34 +1100
commit15b66cd54291186011f733cc750263f320b8a0a4 (patch)
tree3b95b884c9381f5fb6a7ea4286df2288d61ba4ac /tools/perf/scripts/python
parent77584ee57434813b50fc85cde995a6271a5081b7 (diff)
hwrng: core - Fix current_rng init/cleanup race yet again
The kref solution is still buggy because we were only focusing on the register/unregister race. The same race affects the setting of current_rng through sysfs. This patch fixes it by using kref_get_unless_zero. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions