summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-11-20 10:35:25 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-11-20 10:35:25 +0000
commitb840bc0df785d41fe495aa78fda03f64683701ed (patch)
treeddba3dcfc73baa0f2746854f1b0f2aad8cb73d52 /sys/netinet6/in6.h
parent5da939dc8afafa50ffbd55badab9d9a6c8dab59f (diff)
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;