]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r321401:
authoravos <avos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 30 Jul 2017 18:38:05 +0000 (18:38 +0000)
committeravos <avos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 30 Jul 2017 18:38:05 +0000 (18:38 +0000)
commitc4b6d615b5d103ecb7595503cd5b7f407cce463f
treefd7388081983a90a2adf3c78cb99afdad65491ec
parent91b640f7459aa2119ff4c5193a47d1fab1d13b7e
MFC r321401:
net80211: do not allow to unload rate control module if it is still in use.

Keep 'nrefs' counter up-to-date, so 'kldunload wlan_amrr' with 1+ active
wlan(4) interface will not lead to kernel panic.

git-svn-id: svn://svn.freebsd.org/base/stable/10@321725 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net80211/ieee80211_amrr.c
sys/net80211/ieee80211_rssadapt.c