From: patchwork-bot+netdevbpf@kernel.org
To: Kyuwon Cho <kyuwoncho18@gmail.com>
Cc: toke@toke.dk, j.koeppeler@tu-berlin.de, jhs@mojatatu.com,
jiri@resnulli.us, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, willemb@google.com,
horms@kernel.org, cake@lists.bufferbloat.net,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] net/sched: sch_cake: use rcu_dereference_bh() in the cake_mq sync loop
Date: Mon, 30 Nov 2026 03:50:06 +0000 [thread overview]
Message-ID: <179601060650.3033121.15582534956912114829.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <179549599115.54577.5943710312861930188@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Tue, 24 Nov 2026 13:57:24 +0900 you wrote:
> cake_dequeue() reads the other cake_mq sub-qdiscs with rcu_dereference(),
> but it runs from __qdisc_run() under rcu_read_lock_bh() or in softirq
> context, not under rcu_read_lock(), so lockdep warns:
>
> WARNING: suspicious RCU usage
> net/sched/sch_cake.c:2039 suspicious rcu_dereference_check() usage!
> 2 locks held by test/114:
> #0: ffffffff88b2ca80 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit (net/core/dev.c:5014)
> #1: ff11000013ec8170 (&sch->root_lock_key){+...}-{3:3}, at: __dev_queue_xmit (net/core/dev.c:5058)
> Call Trace:
> cake_dequeue (net/sched/sch_cake.c:2039)
> __qdisc_run (net/sched/sch_generic.c:359)
> __dev_queue_xmit (net/core/dev.c:4502)
> packet_sendmsg (net/packet/af_packet.c:3157)
>
> [...]
Here is the summary with links:
- [net] net/sched: sch_cake: use rcu_dereference_bh() in the cake_mq sync loop
https://git.kernel.org/netdev/net/c/8c9f86c2f55f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-11-30 3:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 4:57 [PATCH net] net/sched: sch_cake: use rcu_dereference_bh() in the cake_mq sync loop Kyuwon Cho
2026-11-24 10:52 ` Toke Høiland-Jørgensen
2026-11-30 3:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179601060650.3033121.15582534956912114829.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=cake@lists.bufferbloat.net \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=j.koeppeler@tu-berlin.de \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=kyuwoncho18@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=toke@toke.dk \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox