diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2025-04-29 22:17:08 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-07 19:30:35 -0700 |
commit | 2dc2bd57111582895e10f54ea380329c89873f1c (patch) | |
tree | dfa81d2338168e8436425b3374745261e65e5767 /scripts/gdb/linux/utils.py | |
parent | f089652b6b16452535dcc5cbaa6e2bb05acd3f93 (diff) |
net: dsa: b53: fix toggling vlan_filtering
To allow runtime switching between vlan aware and vlan non-aware mode,
we need to properly keep track of any bridge VLAN configuration.
Likewise, we need to know when we actually switch between both modes, to
not have to rewrite the full VLAN table every time we update the VLANs.
So keep track of the current vlan_filtering mode, and on changes, apply
the appropriate VLAN configuration.
Fixes: 0ee2af4ebbe3 ("net: dsa: set configure_vlan_while_not_filtering to true by default")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20250429201710.330937-10-jonas.gorski@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions