mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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. :-(
This commit is contained in:
parent
302ec06f61
commit
b17ec36839
1 changed files with 6 additions and 0 deletions
|
|
@ -71,6 +71,11 @@
|
|||
#ifndef _NETINET6_IP6PROTOSW_H_
|
||||
#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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue