summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-11 02:16:36 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:23 -0400
commit8aa21e6fd703cb3fed66ac07dcbcb861f00cf6d6 (patch)
treeff237c8212a514b87a897161b5dab883528e7bf7 /net/mac80211/debugfs_netdev.h
parent7a725f73403e874ec52c58741e9b98cd604dbd03 (diff)
downloadblackbird-op-linux-8aa21e6fd703cb3fed66ac07dcbcb861f00cf6d6.tar.gz
blackbird-op-linux-8aa21e6fd703cb3fed66ac07dcbcb861f00cf6d6.zip
mac80211 hwsim: verify vif pointers
mac80211-hwsim is a debugging tool for mac80211, and as such it can very well verify that mac80211 isn't passing junk to drivers, especially the vif pointer is prone to this because for vlan interfaces the AP interface pointer needs to be passed. This makes mac80211-hwsim add a magic cookie to the private vif area and verify it whenever an operation is called that gets a vif pointer. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs_netdev.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud