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
@ -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 New Issue
Block a user