diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-07-28 20:53:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-28 21:28:01 +0200 |
commit | b11f0a4c0c81ff062cd3696eadd46266489bca8e (patch) | |
tree | c2321dca7cfb5b3d430646607aad9364b8630fda /Documentation/networking/index.rst | |
parent | Merge branch 'switchdev-notifiers' (diff) | |
download | linux-b11f0a4c0c81ff062cd3696eadd46266489bca8e.tar.xz linux-b11f0a4c0c81ff062cd3696eadd46266489bca8e.zip |
net: dsa: sja1105: be stateless when installing FDB entries
Currently there are issues when adding a bridge FDB entry as VLAN-aware
and deleting it as VLAN-unaware, or vice versa.
However this is an unneeded complication, since the bridge always
installs its default FDB entries in VLAN 0 to match on VLAN-unaware
ports, and in the default_pvid (VLAN 1) to match on VLAN-aware ports.
So instead of trying to outsmart the bridge, just install all entries it
gives us, and they will start matching packets when the vlan_filtering
mode changes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/index.rst')
0 files changed, 0 insertions, 0 deletions