mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-17 01:06:35 +00:00
realtek: rtl93xx: Trap BPDU management frames
BPDU frames like STP must be processed by each switch (bridge) which supports STP. It must not be forwarded to avoid confusing the STP state of other STP participants. It is essential to be an active participant of STP. The software bridge automatically takes care of forwarding the BPDUs to other ports when STP is disabled and the hardware switch should not interfere. Signed-off-by: Harshal Gohel <hg@simonwunderlich.de> Signed-off-by: Sven Eckelmann <se@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/20414 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
e78f000869
commit
2930c9dd2a
@ -529,6 +529,7 @@ static int rtl93xx_setup(struct dsa_switch *ds)
|
||||
|
||||
rtl83xx_vlan_setup(priv);
|
||||
|
||||
rtldsa_setup_bpdu_traps(priv);
|
||||
rtldsa_setup_lldp_traps(priv);
|
||||
|
||||
ds->configure_vlan_while_not_filtering = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user