aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
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 /lib/test_bitmap.c
parentLinux 5.18-rc1 (diff)
downloadlinux-dev-8ed00760203d8018bee042fbfe8e076579be2c2b.tar.xz
linux-dev-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 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions