Skip to content
Commit 92e75428 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

random: use lockless method of accessing and updating f->reg_idx

Linus pointed out that there is a much more efficient way of avoiding
the problem that we were trying to address in commit 9dfa7bba

:
"fix race in drivers/char/random.c:get_reg()".

Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 9dfa7bba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment