mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] 8021q: publish vlan_devices_arrays entries with acquire/release
@ 2026-09-02  7:33 Jinjie Ruan
  2026-09-02  7:33 ` [PATCH net-next v3 1/2] 8021q: Fix data race when publishing vlan net_device pointers Jinjie Ruan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jinjie Ruan @ 2026-09-02  7:33 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, horms, nb, kuniyu, sdf,
	liuhangbin, da-x, jeff, netdev, linux-kernel
  Cc: ruanjinjie

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-09-05 19:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-02  7:33 [PATCH net-next v3 0/2] 8021q: publish vlan_devices_arrays entries with acquire/release Jinjie Ruan
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-05  5:03   ` Kuniyuki Iwashima
2026-09-02  7:33 ` [PATCH net-next v3 2/2] 8021q: publish vlan_devices_arrays entries with acquire/release Jinjie Ruan
2026-09-05  5:10   ` Kuniyuki Iwashima
2026-09-05 19:45   ` Jakub Kicinski
2026-09-05 19:50 ` [PATCH net-next v3 0/2] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®