Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Mark VAP interfaces as MP safe



details:   https://anonhg.NetBSD.org/src-all/rev/f2ffa4df1dfd
branches:  trunk
changeset: 375276:f2ffa4df1dfd
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Tue Sep 20 20:30:06 2022 +0200

description:
Mark VAP interfaces as MP safe

diffstat:

 sys/net80211/ieee80211.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 44884fd6d5c6 -r f2ffa4df1dfd sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c  Tue Sep 20 20:29:23 2022 +0200
+++ b/sys/net80211/ieee80211.c  Tue Sep 20 20:30:06 2022 +0200
@@ -661,6 +661,7 @@ ieee80211_vap_setup(struct ieee80211com 
        ifp->if_get_counter = ieee80211_get_counter;
 #endif
 #if __NetBSD__
+       ifp->if_extflags |= IFEF_MPSAFE;
        if_initialize(ifp);
 #endif
        vap->iv_ifp = ifp;



Home | Main Index | Thread Index | Old Index