Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 sta_flush_table: make scan entry allocati...
details: https://anonhg.NetBSD.org/src-all/rev/76572c3ed1a2
branches: trunk
changeset: 377865:76572c3ed1a2
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Tue Dec 15 21:27:32 2020 +0100
description:
sta_flush_table: make scan entry allocation/deallocation match
diffstat:
sys/net80211/ieee80211_scan_sta.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e8c370b8e28c -r 76572c3ed1a2 sys/net80211/ieee80211_scan_sta.c
--- a/sys/net80211/ieee80211_scan_sta.c Tue Dec 15 18:44:07 2020 +0100
+++ b/sys/net80211/ieee80211_scan_sta.c Tue Dec 15 21:27:32 2020 +0100
@@ -260,7 +260,7 @@ sta_flush_table(struct sta_table *st)
TAILQ_REMOVE(&st->st_entry, se, se_list);
LIST_REMOVE(se, se_hash);
ieee80211_ies_cleanup(&se->base.se_ies);
- IEEE80211_FREE(se, M_80211_SCAN,
+ IEEE80211_INTR_FREE(se, M_80211_SCAN_ENTRY,
sizeof(*se));
}
memset(st->st_maxrssi, 0, sizeof(st->st_maxrssi));
Home |
Main Index |
Thread Index |
Old Index