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/b610f64d6e9b
branches:  trunk
changeset: 377132:b610f64d6e9b
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 746fd4924629 -r b610f64d6e9b 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