Module Name: src
Committed By: jmcneill
Date: Wed Nov 29 19:27:52 UTC 2017
Modified Files:
src/sys/net: if_tap.c
Log Message:
set IFEF_MPSAFE
To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/net/if_tap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_tap.c
diff -u src/sys/net/if_tap.c:1.102 src/sys/net/if_tap.c:1.103
--- src/sys/net/if_tap.c:1.102 Wed Nov 29 19:21:44 2017
+++ src/sys/net/if_tap.c Wed Nov 29 19:27:52 2017
@@ -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 @@ tap_attach(device_t parent, device_t sel
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;