]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net_sched: sch_sfq: annotate data-races around q->perturb_period
authorEric Dumazet <edumazet@google.com>
Fri, 20 Jun 2025 15:46:17 +0000 (15:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:37 +0000 (11:05 +0100)
commit8a1eca8985804db008af0708183b8e7381e441c3
tree122bf6f233836c730f32e413d4b433d9227d8cb3
parent98236b25d03f3f83f268236cb9b83c4cabd60ab9
net_sched: sch_sfq: annotate data-races around q->perturb_period

commit a17ef9e6c2c1cf0fc6cd6ca6a9ce525c67d1da7f upstream.

sfq_perturbation() reads q->perturb_period locklessly.
Add annotations to fix potential issues.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240430180015.3111398-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sched/sch_sfq.c