aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-06-29 07:52:30 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-06-29 07:52:30 +0000
commit249f4297dbe89b087e845a732819aea23c0a85f5 (patch)
tree564dbff34db1eb7cc9c6f478e7d6854974976581 /sys/net80211/ieee80211_node.h
parent114c608c71849cf875852a393335470a39bbde5d (diff)
downloadsrc-249f4297dbe89b087e845a732819aea23c0a85f5.tar.gz
src-249f4297dbe89b087e845a732819aea23c0a85f5.zip
Detach the interface first, do vlan_unconfig() then.
Previously, another thread could get a pointer to the interface by scanning the system-wide list and sleep on the global vlan mutex held by vlan_unconfig(). The interface was gone by the time the other thread woke up. In order to be able to call vlan_unconfig() on a detached interface, remove the purely cosmetic bzero'ing of IF_LLADDR from the function because a detached interface has no addresses. Noticed by: a stress-testing script by maxim Reviewed by: glebius
Notes
Notes: svn path=/head/; revision=160020
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
0 files changed, 0 insertions, 0 deletions