diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-10 09:14:50 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-11 18:28:07 -0700 |
| commit | 0e5b05f44d818d1efe5154832d2e3f3c44352c02 (patch) | |
| tree | 8bca941a62b5953a8921fe47908ed80f0309ae6f /scripts/const_structs.checkpatch | |
| parent | 863cd78652018576c60f1b73477a15bdb0ea7551 (diff) | |
net/sched: annotate data-races around sch->qstats.backlog
Add qstats_backlog_sub() and qstats_backlog_add() helpers
and use them instead of open-coding them.
These helpers use WRITE_ONCE() to prevent store-tearing.
Also use WRITE_ONCE() in fq_reset() and qdisc_reset()
when sch->qstats.backlog is cleared.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260510091455.4039245-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
