summaryrefslogtreecommitdiffstats
path: root/crypto/tea.c
diff options
context:
space:
mode:
authorGreg Price <price@MIT.EDU>2013-11-29 20:09:37 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-03-19 22:18:51 -0400
commita58aa4edc6d2e779894b1fa95a2f4de157ff3b3b (patch)
tree9ae4c66ee56c768cdc6370a879154acbccb10133 /crypto/tea.c
parentee1de406ba6eb1e01f143fe3351e70cc772cc63e (diff)
downloadlinux-a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b.tar.gz
linux-a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b.tar.bz2
linux-a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b.zip
random: forget lock in lockless accounting
The only mutable data accessed here is ->entropy_count, but since 10b3a32d2 ("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>
Diffstat (limited to 'crypto/tea.c')
0 files changed, 0 insertions, 0 deletions