From d1e88da260ac374b39603ac16117876748d35ca5 Mon Sep 17 00:00:00 2001 From: mpi Date: Tue, 30 May 2017 09:10:49 +0000 Subject: [PATCH] Keep ipv6_input() definition inside _KERNEL. Unbreak userland, found the hardway by deraadt@ --- sys/netinet6/in6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index b62cfccf2bd..1aac6581916 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.h,v 1.95 2017/05/30 07:50:37 mpi Exp $ */ +/* $OpenBSD: in6.h,v 1.96 2017/05/30 09:10:49 mpi Exp $ */ /* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */ /* @@ -411,6 +411,8 @@ struct mbuf; struct ifnet; struct cmsghdr; +void ipv6_input(struct ifnet *, struct mbuf *); + int in6_cksum(struct mbuf *, u_int8_t, u_int32_t, u_int32_t); void in6_proto_cksum_out(struct mbuf *, struct ifnet *); int in6_localaddr(struct in6_addr *); @@ -712,8 +714,6 @@ ifatoia6(struct ifaddr *ifa) __BEGIN_DECLS struct cmsghdr; -void ipv6_input(struct ifnet *, struct mbuf *); - extern int inet6_opt_init(void *, socklen_t); extern int inet6_opt_append(void *, socklen_t, int, u_int8_t, socklen_t, u_int8_t, void **); -- 2.20.1