You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
backport-4.14 kernel: bump 4.14 to 4.14.180 4 years ago
backport-4.19 kernel: bump 4.19 to 4.19.122 4 years ago
backport-5.4 generic: mt7530: fix roaming from DSA user ports 4 years ago
files kernel: mtdsplit: bcm_wfi: always add img partitions 4 years ago
hack-4.14 kernel: bump 4.14 to 4.14.180 4 years ago
hack-4.19 kernel: bump 4.19 to 4.19.122 4 years ago
hack-5.4 kernel: fix portability issue with perf on linux 5.4 4 years ago
image treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
other-files kernel: move initramfs's init script out of base-files 7 years ago
pending-4.14 kernel: bump 4.14 to 4.14.180 4 years ago
pending-4.19 kernel: bump 4.19 to 4.19.123 4 years ago
pending-5.4 generic: fix DSA VLAN filtering 4 years ago
PATCHES kernel: update PATCHES with a stricter policy 11 years ago
config-4.14 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 4 years ago
config-4.19 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 4 years ago
config-5.4 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 4 years ago