Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix kernel build with RT_DEBUG and !NET_MPSAFE
details: https://anonhg.NetBSD.org/src/rev/6844774ff786
branches: trunk
changeset: 349727:6844774ff786
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Dec 21 00:33:49 2016 +0000
description:
Fix kernel build with RT_DEBUG and !NET_MPSAFE
diffstat:
sys/net/route.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cd88f72b85fc -r 6844774ff786 sys/net/route.c
--- a/sys/net/route.c Tue Dec 20 14:09:09 2016 +0000
+++ b/sys/net/route.c Wed Dec 21 00:33:49 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.183 2016/12/12 03:55:57 ozaki-r Exp $ */
+/* $NetBSD: route.c,v 1.184 2016/12/21 00:33:49 ozaki-r Exp $ */
/*-
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.183 2016/12/12 03:55:57 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.184 2016/12/21 00:33:49 ozaki-r Exp $");
#include <sys/param.h>
#ifdef RTFLUSH_DEBUG
@@ -1916,7 +1916,7 @@
static struct dom_rtlist invalid_routes = LIST_HEAD_INITIALIZER(dom_rtlist);
-#ifdef RT_DEBUG
+#if defined(RT_DEBUG) && defined(NET_MPSAFE)
static void
rtcache_trace(const char *func, struct rtentry *rt, struct route *ro)
{
Home |
Main Index |
Thread Index |
Old Index