]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: drop 4-addr VLAN frames earlier if not connected
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Mar 2015 13:05:02 +0000 (14:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Mar 2015 15:27:35 +0000 (16:27 +0100)
commit77ffb25cbcce0f3f2d4184fc5595ac69570e1d51
treeadd81839f1c62868aa1d83cbfd5d00940d3f50a9
parent8d357e72cc942348437e1de6b9ae05b731c38f44
mac80211: drop 4-addr VLAN frames earlier if not connected

If there's no station on the 4-addr VLAN interface, then frames
cannot be transmitted. Drop such frames earlier, before setting
up all the information for them.

We should keep the old check though since that code might be used
for other internally-generated frames.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c