summaryrefslogtreecommitdiff
path: root/include/linux/compiler-clang.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-06-07 19:01:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-13 19:50:24 +0200
commit031987b6beaa02f64aa4428329e34ee3c5b3c76f (patch)
treea738f88d7dd437ef4a3e80730a2cd4693b33e70f /include/linux/compiler-clang.h
parentdb203ab2402dbb9b58b038b8f9097a997f4d8a76 (diff)
random: use lockless method of accessing and updating f->reg_idx
commit 92e75428ffc90e2a0321062379f883f3671cfebe upstream. Linus pointed out that there is a much more efficient way of avoiding the problem that we were trying to address in commit 9dfa7bba35ac0: "fix race in drivers/char/random.c:get_reg()". Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/compiler-clang.h')
0 files changed, 0 insertions, 0 deletions