From b17ec36839723f9c02fe11fbb08b408509f13347 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 2 Aug 2000 01:02:42 +0000 Subject: [PATCH] GRRR! Fix the 'panic: ip6_init' caused by darrenr's incomplete changes for the pfil hooks. The protosw and ip6protosw structures were out of sync with each other. :-( --- sys/netinet6/ip6protosw.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/netinet6/ip6protosw.h b/sys/netinet6/ip6protosw.h index c361219fd46..7ad5c4e0d12 100644 --- a/sys/netinet6/ip6protosw.h +++ b/sys/netinet6/ip6protosw.h @@ -71,6 +71,11 @@ #ifndef _NETINET6_IP6PROTOSW_H_ #define _NETINET6_IP6PROTOSW_H_ +/* + * For pfil_head structure. + */ +#include + /* * Protocol switch table for IPv6. * All other definitions should refer to sys/protosw.h @@ -126,6 +131,7 @@ struct ip6protosw { void (*pr_drain) /* flush any excess space possible */ __P((void)); struct pr_usrreqs *pr_usrreqs; /* supersedes pr_usrreq() */ + struct pfil_head pr_pfh; }; #endif /* !_NETINET6_IP6PROTOSW_H_ */