]> Gentwo Git Trees - linux/.git/commit
net: bridge: Introduce UAPI for BR_BOOLOPT_FDB_LOCAL_VLAN_0
authorPetr Machata <petrm@nvidia.com>
Thu, 4 Sep 2025 17:07:23 +0000 (19:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 12 Sep 2025 02:02:50 +0000 (19:02 -0700)
commit21446c06b441b9c993870efae71aef4e9aa72ec7
treed27005d7ad5cc59a68a68a0d5b8f8125bf502ef5
parenta29aba64e022072eb1388e9bf041fbec6902553e
net: bridge: Introduce UAPI for BR_BOOLOPT_FDB_LOCAL_VLAN_0

The previous patches introduced a new option, BR_BOOLOPT_FDB_LOCAL_VLAN_0.
When enabled, it has local FDB entries installed only on VLAN 0, instead of
duplicating them across all VLANs.

In this patch, add the corresponding UAPI toggle, and the code for turning
the feature on and off.

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/ea99bfb10f687fa58091e6e1c2f8acc33f47ca45.1757004393.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/if_bridge.h
net/bridge/br.c
net/bridge/br_fdb.c
net/bridge/br_private.h