mac80211: do not transmit frames on unconfigured 4-addr vlan interfaces
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 Jan 2010 17:15:13 +0000 (18:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:08 +0000 (14:02 -0500)
commit3f0e0b220f80075ce15483b20458192c0ac27426
tree3e443253f6f96b71b1ee2013cdef5b0d930efb0a
parent0e5ded5a87c097760abd68521b86f1025dedc7d7
mac80211: do not transmit frames on unconfigured 4-addr vlan interfaces

If frames are transmitted on 4-addr ap vlan interfaces with no station,
they end up being transmitted unencrypted, even if the ap interface
uses WPA. This patch add some sanity checking to make sure that this
does not happen.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c