diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-06-30 16:37:13 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-07-15 12:33:22 -0400 |
commit | 72e5c740f6335e27253b8ff64d23d00337091535 (patch) | |
tree | 277b0d7fdd627c80c54deafae9ab10b27c3d39de /net/core | |
parent | eecabf567422eda02bd179f2707d8fe24f52d888 (diff) |
random: reorder READ_ONCE() in get_random_uXX
Avoid the READ_ONCE in commit 4a072c71f49b ("random: silence compiler
warnings and fix race") if we can leave the function after
arch_get_random_XXX().
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions