From: Jinjie Ruan <ruanjinjie@huawei.com>
To: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <horms@kernel.org>, <nb@tipi-net.de>,
<kuniyu@google.com>, <sdf@fomichev.me>, <liuhangbin@gmail.com>,
<da-x@monatomic.org>, <jeff@garzik.org>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <ruanjinjie@huawei.com>
Subject: [PATCH net-next v3 0/2] 8021q: publish vlan_devices_arrays entries with acquire/release
Date: Wed, 2 Sep 2026 15:33:32 +0800 [thread overview]
Message-ID: <20260902073334.397685-1-ruanjinjie@huawei.com> (raw)
Hi all,
This series fixes a speculative lockless data race in the 8021q
VLAN receive fast-path, and publish vlan_devices_arrays entries
with acquire/release for better performance.
Changes in v3:
- Fix C=1 sparse warning as Jakub pointed out.
- Split out from following patch set as Kuniyuki suggested.
Link: https://lore.kernel.org/all/20260901024234.135119-1-ruanjinjie@huawei.com/
Jinjie Ruan (2):
8021q: Fix data race when publishing vlan net_device pointers
8021q: publish vlan_devices_arrays entries with acquire/release
net/8021q/vlan.c | 8 +++-----
net/8021q/vlan.h | 20 +++++++++-----------
2 files changed, 12 insertions(+), 16 deletions(-)
--
2.34.1
next reply other threads:[~2026-09-02 7:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 7:33 Jinjie Ruan [this message]
2026-09-02 7:33 ` [PATCH net-next v3 1/2] 8021q: Fix data race when publishing vlan net_device pointers Jinjie Ruan
2026-09-02 7:33 ` [PATCH net-next v3 2/2] 8021q: publish vlan_devices_arrays entries with acquire/release Jinjie Ruan
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=20260902073334.397685-1-ruanjinjie@huawei.com \
--to=ruanjinjie@huawei.com \
--cc=da-x@monatomic.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jeff@garzik.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liuhangbin@gmail.com \
--cc=nb@tipi-net.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
/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