+0
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The only mutable data accessed here is ->entropy_count, but since 10b3a32d ("random: fix accounting race condition") we use cmpxchg to protect our accesses to ->entropy_count here. Drop the use of the lock. Cc: Jiri Kosina <jkosina@suse.cz> Signed-off-by:Greg Price <price@mit.edu> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>