diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-23 08:40:18 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-26 00:33:34 +0300 |
| commit | 15b66cd54291186011f733cc750263f320b8a0a4 (patch) | |
| tree | 3b95b884c9381f5fb6a7ea4286df2288d61ba4ac /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 77584ee57434813b50fc85cde995a6271a5081b7 (diff) | |
| download | linux-15b66cd54291186011f733cc750263f320b8a0a4.tar.xz | |
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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
