summaryrefslogtreecommitdiff
path: root/crypto/keywrap.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-11-04 08:08:30 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-01-24 10:33:51 -0800
commit844a378de3372c923909681706d62336d702531e (patch)
tree2519d04a043f31a4929b586c5c2441d283aa3e41 /crypto/keywrap.c
parent7441e7661d6586ae36329b7956e4d713d81e9903 (diff)
downloadlwn-844a378de3372c923909681706d62336d702531e.tar.gz
lwn-844a378de3372c923909681706d62336d702531e.zip
srcu: Apply *_ONCE() to ->srcu_last_gp_end
The ->srcu_last_gp_end field is accessed from any CPU at any time by synchronize_srcu(), so non-initialization references need to use READ_ONCE() and WRITE_ONCE(). This commit therefore makes that change. Reported-by: syzbot+08f3e9d26e5541e1ecf2@syzkaller.appspotmail.com Acked-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'crypto/keywrap.c')
0 files changed, 0 insertions, 0 deletions