Page MenuHomeFreeBSD

D43751.id133881.diff
No OneTemporary

D43751.id133881.diff

diff --git a/sys/net80211/ieee80211_amrr.c b/sys/net80211/ieee80211_amrr.c
--- a/sys/net80211/ieee80211_amrr.c
+++ b/sys/net80211/ieee80211_amrr.c
@@ -132,8 +132,9 @@
static void
amrr_deinit(struct ieee80211vap *vap)
{
- IEEE80211_FREE(vap->iv_rs, M_80211_RATECTL);
KASSERT(nrefs > 0, ("imbalanced attach/detach"));
+ IEEE80211_FREE(vap->iv_rs, M_80211_RATECTL);
+ vap->iv_rs = NULL; /* guard */
nrefs--; /* XXX locking */
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 1:29 PM (8 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16080629
Default Alt Text
D43751.id133881.diff (437 B)

Event Timeline