summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@blackwall.org>2026-09-18 18:29:44 +0300
committerJakub Kicinski <kuba@kernel.org>2026-09-21 17:41:32 -0700
commitb82e41db0085da71444245f24eb9b7b602a56362 (patch)
treeaab8426561df769705be71fc9860ee1488a92734 /include/linux/debugobjects.h
parent25622bef888590390fb53e2e668781bd90bb29fd (diff)
net: bridge: vlan: cache the pvid vlan entry directly
VLAN groups cache the pvid and its state separately requiring state updates to keep both copies synchronized. Lockless readers can also observe the pvid and state from different updates. Cache an rcu protected pointer to the pvid vlan entry instead. This makes the vlan entry the single source of truth and lets the ingress path reuse it without another lookup. It also makes the vlan entry always available at the ingress path for subsequent forwarding-path optimizations. Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260918152950.1938259-4-razor@blackwall.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions