From: patchwork-bot+netdevbpf@kernel.org
To: Junseo Lim <zirajs7@gmail.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org,
bpf@vger.kernel.org, rhkrqnwk98@gmail.com, tom@herbertland.com
Subject: Re: [PATCH net] net: kcm: Hold RCU read lock while running BPF parser
Date: Mon, 17 Aug 2026 20:50:06 +0000 [thread overview]
Message-ID: <178699980640.1732278.16910244433930801525.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260813035136.106167-1-zirajs7@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 13 Aug 2026 12:51:36 +0900 you wrote:
> kcm_parse_func_strparser() calls bpf_prog_run_pin_on_cpu() which
> prevents CPU migration, but does not establish an RCU read-side
> critical section. Consequently, BPF map operations can trigger
> WARN_ON_ONCE(!bpf_rcu_lock_held()) when called from the KCM strparser
> program.
>
> Hold the RCU read lock while running the program.
>
> [...]
Here is the summary with links:
- [net] net: kcm: Hold RCU read lock while running BPF parser
https://git.kernel.org/netdev/net/c/b0346dd64e49
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-08-17 20:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 3:51 [PATCH net] net: kcm: Hold RCU read lock while running BPF parser Junseo Lim
2026-08-17 20: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=178699980640.1732278.16910244433930801525.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rhkrqnwk98@gmail.com \
--cc=tom@herbertland.com \
--cc=zirajs7@gmail.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