From: Jakub Kicinski <kuba@kernel•org>
To: Justin Iurman <justin.iurman@uliege•be>
Cc: netdev@vger•kernel.org, davem@davemloft•net, edumazet@google•com,
pabeni@redhat•com, horms@kernel•org, kuniyu@amazon•com,
Alexei Starovoitov <alexei.starovoitov@gmail•com>,
Eduard Zingerman <eddyz87@gmail•com>, bpf <bpf@vger•kernel.org>,
Stanislav Fomichev <stfomichev@gmail•com>,
Sebastian Sewior <bigeasy@linutronix•de>,
Andrea Mayer <andrea.mayer@uniroma2•it>,
Stefano Salsano <stefano.salsano@uniroma2•it>,
Paolo Lungaroni <paolo.lungaroni@uniroma2•it>
Subject: Re: [PATCH net v3] net: lwtunnel: disable BHs when required
Date: Tue, 22 Apr 2025 16:59:31 -0700 [thread overview]
Message-ID: <20250422165931.6d205a3c@kernel.org> (raw)
In-Reply-To: <20250416160716.8823-1-justin.iurman@uliege.be>
On Wed, 16 Apr 2025 18:07:16 +0200 Justin Iurman wrote:
> In lwtunnel_{output|xmit}(), dev_xmit_recursion() may be called in
> preemptible scope for PREEMPT kernels. This patch disables BHs before
> calling dev_xmit_recursion(). BHs are re-enabled only at the end, since
> we must ensure the same CPU is used for both dev_xmit_recursion_inc()
> and dev_xmit_recursion_dec() (and any other recursion levels in some
> cases) in order to maintain valid per-cpu counters.
Applied last night by Paolo, thanks!
prev parent reply other threads:[~2025-04-22 23:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-16 16:07 [PATCH net v3] net: lwtunnel: disable BHs when required Justin Iurman
2025-04-21 13:44 ` Simon Horman
2025-04-22 23:59 ` Jakub Kicinski [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=20250422165931.6d205a3c@kernel.org \
--to=kuba@kernel$(echo .)org \
--cc=alexei.starovoitov@gmail$(echo .)com \
--cc=andrea.mayer@uniroma2$(echo .)it \
--cc=bigeasy@linutronix$(echo .)de \
--cc=bpf@vger$(echo .)kernel.org \
--cc=davem@davemloft$(echo .)net \
--cc=eddyz87@gmail$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=horms@kernel$(echo .)org \
--cc=justin.iurman@uliege$(echo .)be \
--cc=kuniyu@amazon$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=paolo.lungaroni@uniroma2$(echo .)it \
--cc=stefano.salsano@uniroma2$(echo .)it \
--cc=stfomichev@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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