summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-05-14 09:59:32 +0000
committerJakub Kicinski <kuba@kernel.org>2026-05-15 18:19:11 -0700
commit9b949fa69129e4b694ed11ee3be6d6edd4a9b8f4 (patch)
tree653a8b9cbf07b10394cdc9dc426fa56009abddfa /scripts/checkpatch.pl
parent5658bddaca41417331d2ac4b24a9b159a839ab87 (diff)
net/sched: sch_htb: do not change sch->flags in htb_dump()
htb_dump() runs without holding qdisc spinlock. It is illegal to touch sch->flags with non locked RMW, as concurrent readers might see intermediate wrong values. Set TCQ_F_OFFLOADED in control path (htb_init()) instead. Fixes: d03b195b5aa0 ("sch_htb: Hierarchical QoS hardware offload") Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260514095935.3926276-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions