mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 02:24:54 +04:00
A locked bridge port must forward only frames from sources the bridge has authorized. Offload BR_PORT_LOCKED by turning hardware learning off and redirecting frames with an unknown or moved source address to the CPU, through the port's new-address and station-move commands, as mv88e6xxx does for a locked port. The bridge then drops them, or under BR_PORT_MAB records the source as a locked FDB entry, which needs nothing further from the switch. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de> Link: https://github.com/openwrt/openwrt/pull/25700 Signed-off-by: Robert Marko <robimarko@gmail.com>