summaryrefslogtreecommitdiff
path: root/rust/helpers/completion.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2025-09-04 19:07:21 +0200
committerJakub Kicinski <kuba@kernel.org>2025-09-11 19:02:50 -0700
commit40df3b8e90eec85b0830dfc04d805f7ddbcc929d (patch)
treee68f49a1aa193f2cec31a5e64b6ad1ddda10b0c8 /rust/helpers/completion.c
parent4cf5fd84978738acf3d3610c19c81bbe4a083b93 (diff)
net: bridge: BROPT_FDB_LOCAL_VLAN_0: On bridge changeaddr, skip per-VLAN FDBs
When BROPT_FDB_LOCAL_VLAN_0 is enabled, the local FDB entries for the bridge itself should not be created per-VLAN, but instead only on VLAN 0. When the bridge address changes, the local FDB entries need to be updated, which is done in br_fdb_change_mac_address(). Bail out early when in VLAN-0 mode, so that the per-VLAN FDB entries are not created. The per-VLAN walk is only done afterwards. Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Acked-by: Nikolay Aleksandrov <razor@blackwall.org> Link: https://patch.msgid.link/0bd432cf91921ef7c4ed0e129de1d1cd358c716b.1757004393.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/completion.c')
0 files changed, 0 insertions, 0 deletions