Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/net Pull up following revision(s) (requested by msait...



details:   https://anonhg.NetBSD.org/src/rev/747b44a97796
branches:  netbsd-8
changeset: 320608:747b44a97796
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jul 13 16:01:12 2018 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #915):

        sys/net/if.c: revision 1.424

Print "NET_MPSAFE enabled" if it's enabled.

diffstat:

 sys/net/if.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r f31ab4b80d5c -r 747b44a97796 sys/net/if.c
--- a/sys/net/if.c      Fri Jul 13 15:58:25 2018 +0000
+++ b/sys/net/if.c      Fri Jul 13 16:01:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.394.2.12 2018/07/13 15:49:55 martin Exp $     */
+/*     $NetBSD: if.c,v 1.394.2.13 2018/07/13 16:01:12 martin Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.394.2.12 2018/07/13 15:49:55 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.394.2.13 2018/07/13 16:01:12 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -309,6 +309,11 @@
 void
 ifinit1(void)
 {
+
+#ifdef NET_MPSAFE
+       printf("NET_MPSAFE enabled\n");
+#endif
+
        mutex_init(&if_clone_mtx, MUTEX_DEFAULT, IPL_NONE);
 
        TAILQ_INIT(&ifnet_list);



Home | Main Index | Thread Index | Old Index