aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/pf/net/pf_ioctl.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2011-10-19 10:04:24 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2011-10-19 10:04:24 +0000
commit5b63183446a76b08d5a371e278dfdf3505cd253a (patch)
tree1b03d24440dd98fa677a4121992b435a1344af1f /sys/contrib/pf/net/pf_ioctl.c
parentc29a7fb3056b9b7a36c898cd64b1e49a68205ece (diff)
downloadsrc-5b63183446a76b08d5a371e278dfdf3505cd253a.tar.gz
src-5b63183446a76b08d5a371e278dfdf3505cd253a.zip
Pseudo interfaces should go at SI_SUB_PSEUDO. However at least
pfsync also depends on pf to be initialized already so pf goes at FIRST and the interfaces go at ANY. Then the (VNET_)SYSINIT startups for pf stays at SI_SUB_PROTO_BEGIN and for pfsync we move to the later SI_SUB_PROTO_IF. This is not ideal either but at least an order that should work for the moment and can be re-fined with the VIMAGE merge, once this will actually work with more than one network stack. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=226532
Diffstat (limited to 'sys/contrib/pf/net/pf_ioctl.c')
-rw-r--r--sys/contrib/pf/net/pf_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/pf/net/pf_ioctl.c b/sys/contrib/pf/net/pf_ioctl.c
index 2ca163056b1f..27b660ca62a7 100644
--- a/sys/contrib/pf/net/pf_ioctl.c
+++ b/sys/contrib/pf/net/pf_ioctl.c
@@ -4450,6 +4450,6 @@ static moduledata_t pf_mod = {
0
};
-DECLARE_MODULE(pf, pf_mod, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_FIRST);
+DECLARE_MODULE(pf, pf_mod, SI_SUB_PSEUDO, SI_ORDER_FIRST);
MODULE_VERSION(pf, PF_MODVER);
#endif /* __FreeBSD__ */