diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-11 02:16:36 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 22:48:23 +0200 |
commit | 8aa21e6fd703cb3fed66ac07dcbcb861f00cf6d6 (patch) | |
tree | ff237c8212a514b87a897161b5dab883528e7bf7 /net/mac80211/mesh_hwmp.c | |
parent | mac80211: warn on some invalid vlan operations (diff) | |
download | linux-8aa21e6fd703cb3fed66ac07dcbcb861f00cf6d6.tar.xz 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/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions