Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Fix build failure when INET6 is disabled and NET...
details: https://anonhg.NetBSD.org/src/rev/cab70059a289
branches: trunk
changeset: 451323:cab70059a289
user: knakahara <knakahara%NetBSD.org@localhost>
date: Wed May 15 03:33:41 2019 +0000
description:
Fix build failure when INET6 is disabled and NET_MPSAFE is enabled. Pointed out by ozaki-r@n.o, thanks.
diffstat:
sys/netinet/ip_encap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ddef31c11994 -r cab70059a289 sys/netinet/ip_encap.c
--- a/sys/netinet/ip_encap.c Wed May 15 02:59:18 2019 +0000
+++ b/sys/netinet/ip_encap.c Wed May 15 03:33:41 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_encap.c,v 1.70 2018/09/14 05:09:51 maxv Exp $ */
+/* $NetBSD: ip_encap.c,v 1.71 2019/05/15 03:33:41 knakahara Exp $ */
/* $KAME: ip_encap.c,v 1.73 2001/10/02 08:30:58 itojun Exp $ */
/*
@@ -68,7 +68,7 @@
#define USE_RADIX
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.70 2018/09/14 05:09:51 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.71 2019/05/15 03:33:41 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_mrouting.h"
@@ -79,6 +79,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
+#include <sys/socketvar.h> /* for softnet_lock */
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/errno.h>
Home |
Main Index |
Thread Index |
Old Index