Thread (4 messages) 4 messages, 2 authors, 24d ago

Re: [PATCH net-next 0/2] vlan: lockless vlan_fill_info()

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-19 00:11:26

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 16 Sep 2026 13:25:30 +0000 you wrote:
vlan_fill_info() currently relies on RTNL being held, because it
uses rcu_dereference_rtnl() to walk vlan->egress_priority_map[].

While auditing the fields exposed there, it appears that
vlan->flags, vlan->ingress_priority_map[] and vlan->nr_*_mappings
are written under RTNL but already read from lockless contexts
(RX, TX, /proc/net/vlan/<dev> and vlan_get_size()).

[...]
Here is the summary with links:
  - [net-next,1/2] vlan: annotate data-races in vlan_dev_priv fields
    https://git.kernel.org/netdev/net-next/c/ca6ff8dd70eb
  - [net-next,2/2] vlan: no longer rely on RTNL in vlan_fill_info()
    https://git.kernel.org/netdev/net-next/c/ea5bd52c8bdd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help