diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-10 09:14:49 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-11 18:28:07 -0700 |
| commit | 863cd78652018576c60f1b73477a15bdb0ea7551 (patch) | |
| tree | f8783af2cb2e9e6a5351fe72ab25db3f7cdde39c /scripts/const_structs.checkpatch | |
| parent | a0007332426646a9ca21a49fbc1d29974ea060c2 (diff) | |
net/sched: add qdisc_qlen_inc() and qdisc_qlen_dec()
Helpers to increment or decrement sch->q.qlen, with appropriate
WRITE_ONCE() to prevent store tearing.
Add other WRITE_ONCE() when sch->q.qlen is changed.
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-3-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
