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/b4761c2294f1
branches:  trunk
changeset: 989797:b4761c2294f1
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 8deab3f38a1e -r b4761c2294f1 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