summaryrefslogtreecommitdiff
path: root/include/linux/srcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-01-12 09:52:44 -0800
committerPaul E. McKenney <paulmck@kernel.org>2022-04-11 15:31:01 -0700
commit8ed00760203d8018bee042fbfe8e076579be2c2b (patch)
treed436cccfe36000d8561e63aaabd378920da7f0c3 /include/linux/srcutree.h
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlwn-8ed00760203d8018bee042fbfe8e076579be2c2b.tar.gz
lwn-8ed00760203d8018bee042fbfe8e076579be2c2b.zip
srcu: Tighten cleanup_srcu_struct() GP checks
Currently, cleanup_srcu_struct() checks for a grace period in progress, but it does not check for a grace period that has not yet started but which might start at any time. Such a situation could result in a use-after-free bug, so this commit adds a check for a grace period that is needed but not yet started to cleanup_srcu_struct(). Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/srcutree.h')
0 files changed, 0 insertions, 0 deletions