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: Theodore Ts'o <tytso@mit.edu>
Showing
Please register or sign in to comment