diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-13 11:08:53 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-15 03:05:20 +0300 |
| commit | e300c7d470ad2726d6abf7d11b31b5d9912d9cf0 (patch) | |
| tree | 487278a46e9fcff45365e79fdeb70dad6dba4df9 /include/linux/debugobjects.h | |
| parent | d3f3c8a4d1f671b5d661097e0c80517d523c9f61 (diff) | |
| download | linux-e300c7d470ad2726d6abf7d11b31b5d9912d9cf0.tar.xz | |
net/sched: sch_hfsc: annotate data-races in hfsc_dump_class_stats()
hfsc_dump_class_stats() runs without qdisc spinlock being held.
Add READ_ONCE()/WRITE_ONCE() annotations around:
- cl->level
- cl->cl_vtperiod
- cl->cl_total
- cl->cl_cumul
Fixes: edb09eb17ed8 ("net: sched: do not acquire qdisc spinlock in qdisc/class stats dump")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260513080853.1383975-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
