openwrt/target/linux/generic
DENG Qingfang 7c47f6601d generic: mt7530: fix roaming from DSA user ports
When a client moves from a DSA user port to a software port in a bridge,
it cannot reach any other clients that connected to the DSA user ports.
That is because SA learning on the CPU port is disabled, so the switch
ignores the client's frames from the CPU port and still thinks it is at
the user port.

Fix it by enabling SA learning on the CPU port.

To prevent the switch from learning from flooding frames from the CPU
port, set skb->offload_fwd_mark to 1 for unicast and broadcast frames,
and let the switch flood them instead of trapping to the CPU port.
Multicast frames still need to be trapped to the CPU port for snooping,
so set the SA_DIS bit of the MTK tag to 1 when transmitting those frames
to disable SA learning.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-06-04 22:21:42 +02:00
..
backport-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
backport-4.19 kernel: bump 4.19 to 4.19.122 2020-05-12 12:36:28 +02:00
backport-5.4 generic: mt7530: fix roaming from DSA user ports 2020-06-04 22:21:42 +02:00
files kernel: mtdsplit: bcm_wfi: always add img partitions 2020-06-03 18:50:58 +02:00
hack-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
hack-4.19 kernel: bump 4.19 to 4.19.122 2020-05-12 12:36:28 +02:00
hack-5.4 kernel: fix portability issue with perf on linux 5.4 2020-06-04 21:52:57 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
pending-4.19 kernel: bump 4.19 to 4.19.123 2020-05-14 13:33:40 +02:00
pending-5.4 generic: fix DSA VLAN filtering 2020-06-04 22:21:42 +02:00
config-4.14 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-06-03 16:49:28 +02:00
config-4.19 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-06-03 16:49:28 +02:00
config-5.4 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-06-03 16:49:28 +02:00
PATCHES