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/28c192f88cf3
branches:  trunk
changeset: 947537:28c192f88cf3
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 5dfd0d5d68bb -r 28c192f88cf3 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 @@
                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