summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-11-20 10:35:24 +0000
committermpi <mpi@openbsd.org>2017-11-20 10:35:24 +0000
commit94334c667cb14a4cfacff059c4e2da21206ed658 (patch)
treef8289e1c9810f75b425caae8fcd133de0f51a6f9 /sys/netinet6/in6.h
parentRemove duplicated code working around the fact that ifpromisc() required (diff)
downloadwireguard-openbsd-94334c667cb14a4cfacff059c4e2da21206ed658.tar.xz
wireguard-openbsd-94334c667cb14a4cfacff059c4e2da21206ed658.zip
Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare running
pr_input handlers without KERNEL_LOCK(). ok visa@
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 397f1094a5b..6ea62f9fbd2 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.99 2017/09/01 16:48:27 florian Exp $ */
+/* $OpenBSD: in6.h,v 1.100 2017/11/20 10:35:24 mpi Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -404,7 +404,7 @@ typedef __socklen_t socklen_t; /* length type for network syscalls */
#endif /* __BSD_VISIBLE */
#ifdef _KERNEL
-extern u_char inet6ctlerrmap[];
+extern const u_char inet6ctlerrmap[];
extern struct in6_addr zeroin6_addr;
struct mbuf;