• Felix Fietkau's avatar
    mac80211: drop non-auth 3-addr data frames when running as a 4-addr station · fbb327c5
    Felix Fietkau authored
    When running as a 4-addr station against an AP that has the 4-addr VLAN
    interface and the main 3-addr AP interface bridged together, sometimes
    frames originating from the station were looping back from the 3-addr AP
    interface, causing the bridge code to emit warnings about receiving frames
    with its own source address.
    I'm not sure why this is happening yet, but I think it's a good idea to
    drop all frames (except 802.1x/EAP frames) that do not match the configured
    addressing mode, including 4-address frames sent to a 3-address station.
    User test reports indicate that the problem goes away with this patch.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    fbb327c5
rx.c 80.4 KB