]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net_sched: sch_sfq: annotate data-races around q->perturb_period
authorEric Dumazet <edumazet@google.com>
Tue, 30 Apr 2024 18:00:15 +0000 (18:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 3 May 2024 02:01:35 +0000 (19:01 -0700)
commita17ef9e6c2c1cf0fc6cd6ca6a9ce525c67d1da7f
treebc6f88aef9d1f0bddbbc038c1fda930cc87b7d0a
parent4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b
net_sched: sch_sfq: annotate data-races around q->perturb_period

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>
net/sched/sch_sfq.c