]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: verify virtual interfaces in driver API
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 Nov 2011 13:41:13 +0000 (14:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Nov 2011 21:01:02 +0000 (16:01 -0500)
commit44dfa5d75779443ea55e8a642ed7a5b9760a4482
tree7b071ee01187bc3ee843c86b88189cc4eab73cf1
parentd36c0e113e9b0149fa84eec5bed59c4e1298f2fa
mac80211: verify virtual interfaces in driver API

The driver is never informed about monitor or
AP_VLAN interfaces, so whenever we pass those
to it later this is a bug. Verify we don't as
there are some cases where this could happen.

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