mac80211: as a 4-addr station, do not receive packets for other stations
authorFelix Fietkau <nbd@openwrt.org>
Sat, 5 Feb 2011 22:48:37 +0000 (23:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Feb 2011 21:18:27 +0000 (16:18 -0500)
commit4f3123366f78cf34ce7caab923e2b3c4fe9e16c2
tree44789fb3edce914460b6c7953939cfe5ab905441
parent180205bdb22b79cd7b2a07a5002dd747badc82f3
mac80211: as a 4-addr station, do not receive packets for other stations

Since 4-addr frames completely override the source address which will
make it into the converted 802.3 frames, receiving frames for other
4-addr stations will confuse the bridging code.

To be able to handle traffic for all connected devices, the bridge
code will automatically turn on promiscuous mode, which triggers
this problem.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Steve Brown <sbrown@cortland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c