summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-05-18 09:05:18 +0000
committerJakub Kicinski <kuba@kernel.org>2026-05-19 18:42:48 -0700
commit231c53e1a529f21c4b2d59df32389d5a57ce1289 (patch)
tree5758693fa49feb70aa29a4a4affde394178fef49 /scripts/stackusage
parent2c57948924afd20b34346d1065668eeb71866b28 (diff)
net/sched: sch_htb: fix htb_dump_class_stats() vs offload mode
htb_dump_class_stats() and htb_offload_aggregate_stats() call gnet_stats_basic_sync_init(&cl->bstats) which is wrong on 32bit arches when syncp is cleared. Make sure to acquire qdisc spinlock and use _bstats_set() to ease future lockless dumps. Fixes: 83271586249c ("sch_htb: Stats for offloaded HTB") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Maxim Mikityanskiy <maximmi@mellanox.com> Cc: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260518090518.629245-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions