summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-05-13 08:08:51 +0000
committerJakub Kicinski <kuba@kernel.org>2026-05-14 17:05:20 -0700
commit72a1795999df1a5cb9296343202f8679151a5ea2 (patch)
treee8b13cf8e096eaeddd80b6e9bbffce76ae94857e /scripts
parentf65d40643e425d2346d1fd7e1bbaa2efeeb8b70f (diff)
net/sched: qdisc_qstats_qlen_backlog() runs locklessly
qdisc_qstats_qlen_backlog() can be called without qdisc spinlock being held. Use qdisc_qlen_lockless() instead of qdisc_qlen(). Add a const qualifier to its first parameter (struct Qdisc *sch). Fixes: edb09eb17ed8 ("net: sched: do not acquire qdisc spinlock in qdisc/class stats dump") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Toke Høiland-Jørgensen <toke@toke.dk> Link: https://patch.msgid.link/20260513080853.1383975-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions