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/fdfd212dca90
branches:  trunk
changeset: 370617:fdfd212dca90
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 6dc18e87f685 -r fdfd212dca90 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 @@
        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