summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-08-02 01:02:42 +0000
committerpeter <peter@FreeBSD.org>2000-08-02 01:02:42 +0000
commit0236152f47c6d5c83b8abcb3870c3a8295b92a4e (patch)
treef6faecba6fba95bdb38b0dd0977c77367cd4785c /sys/netinet6
parent01076940c61d3e0c79c4f888c7f649872161a2d2 (diff)
downloadFreeBSD-src-0236152f47c6d5c83b8abcb3870c3a8295b92a4e.zip
FreeBSD-src-0236152f47c6d5c83b8abcb3870c3a8295b92a4e.tar.gz
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. :-(
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6protosw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet6/ip6protosw.h b/sys/netinet6/ip6protosw.h
index c361219..7ad5c4e 100644
--- a/sys/netinet6/ip6protosw.h
+++ b/sys/netinet6/ip6protosw.h
@@ -72,6 +72,11 @@
#define _NETINET6_IP6PROTOSW_H_
/*
+ * For pfil_head structure.
+ */
+#include <net/pfil.h>
+
+/*
* 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_ */
OpenPOWER on IntegriCloud