diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-04-27 11:36:05 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-29 04:27:51 +0300 |
| commit | 8fab48d87745a6ab1cec594b8d5865d9ae2db879 (patch) | |
| tree | 4d41f028e3661c9bc3ba04e7cf857e0e012321f4 /include/linux/stackprotector.h | |
| parent | 276a98a434964088fccd4745db5b34d6e831e358 (diff) | |
| download | linux-8fab48d87745a6ab1cec594b8d5865d9ae2db879.tar.xz | |
net/sched: sch_cake: annotate data-races in cake_dump_stats() (IV)
cake_dump_stats() runs without qdisc spinlock being held.
In this fourth patch, I add READ_ONCE()/WRITE_ONCE() annotations
for the following fields:
- avg_peak_bandwidth
- buffer_limit
- buffer_max_used
- avg_netoff
- max_netlen
- max_adjlen
- min_netlen
- min_adjlen
- active_queues
- tin_rate_bps
- bytes
- tin_backlog
Other annotations are added in following patch, to ease code review.
Fixes: 046f6fd5daef ("sched: Add Common Applications Kept Enhanced (cake) qdisc")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260427083606.459355-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
