diff options
| author | Jonas Gorski <[email protected]> | 2025-04-29 20:17:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-08 02:30:35 +0000 |
| commit | 2dc2bd57111582895e10f54ea380329c89873f1c (patch) | |
| tree | dfa81d2338168e8436425b3374745261e65e5767 /net/unix/af_unix.c | |
| parent | net: dsa: b53: do not program vlans when vlan filtering is off (diff) | |
| download | kernel-2dc2bd57111582895e10f54ea380329c89873f1c.tar.gz kernel-2dc2bd57111582895e10f54ea380329c89873f1c.zip | |
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 <[email protected]>
Tested-by: Florian Fainelli <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
