]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix AP/VLAN PS buffer race
authorJohannes Berg <johannes.berg@intel.com>
Tue, 20 Sep 2011 15:40:51 +0000 (17:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Sep 2011 20:19:41 +0000 (16:19 -0400)
commitc47f24a477fee3b603b3815628e43300af522dab
tree5ce98ab1b817d4b177c68b89f1da0e541e2f35a9
parent1fe5310d9841a43f0c042ea4e647ab99e54df1ff
mac80211: fix AP/VLAN PS buffer race

When an AP interface is removed without the
AP/VLAN interfaces having been removed before
already, the AP-VLAN interface might still
have sleeping stations and buffer multicast
frames which will happen on the AP interface.
Thus, we need to remove AP/VLAN interfaces
before purging buffered broadcast frames.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c