Source-Changes-HG archive

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

[src/trunk]: src/sys/net set IFEF_MPSAFE



details:   https://anonhg.NetBSD.org/src/rev/4fc88c0f5517
branches:  trunk
changeset: 828135:4fc88c0f5517
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Nov 29 19:27:52 2017 +0000

description:
set IFEF_MPSAFE

diffstat:

 sys/net/if_tap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 66c730644032 -r 4fc88c0f5517 sys/net/if_tap.c
--- a/sys/net/if_tap.c  Wed Nov 29 19:21:44 2017 +0000
+++ b/sys/net/if_tap.c  Wed Nov 29 19:27:52 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tap.c,v 1.102 2017/11/29 19:21:44 jmcneill Exp $    */
+/*     $NetBSD: if_tap.c,v 1.103 2017/11/29 19:27:52 jmcneill Exp $    */
 
 /*
  *  Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.102 2017/11/29 19:21:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.103 2017/11/29 19:27:52 jmcneill Exp $");
 
 #if defined(_KERNEL_OPT)
 
@@ -357,7 +357,7 @@
        strcpy(ifp->if_xname, device_xname(self));
        ifp->if_softc   = sc;
        ifp->if_flags   = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
-       ifp->if_extflags = IFEF_NO_LINK_STATE_CHANGE;
+       ifp->if_extflags = IFEF_MPSAFE | IFEF_NO_LINK_STATE_CHANGE;
        ifp->if_ioctl   = tap_ioctl;
        ifp->if_start   = tap_start;
        ifp->if_stop    = tap_stop;



Home | Main Index | Thread Index | Old Index