Change SYSINIT priorities so that ip_mroute_modevent() is executed
before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to be set, and that is done in in ip_mroute_modevent(). Apparently I broke that ordering with r208744 almost 2 years ago... PR: kern/162201 Submitted by: Stevan Markovic (mcafee.com) MFC after: 3 days
This commit is contained in:
parent
68bf97175d
commit
1c7792950c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232517
@ -2822,7 +2822,7 @@ vnet_mroute_init(const void *unused __unused)
|
||||
callout_init(&V_bw_meter_ch, CALLOUT_MPSAFE);
|
||||
}
|
||||
|
||||
VNET_SYSINIT(vnet_mroute_init, SI_SUB_PSEUDO, SI_ORDER_MIDDLE, vnet_mroute_init,
|
||||
VNET_SYSINIT(vnet_mroute_init, SI_SUB_PSEUDO, SI_ORDER_ANY, vnet_mroute_init,
|
||||
NULL);
|
||||
|
||||
static void
|
||||
@ -2945,4 +2945,4 @@ static moduledata_t ip_mroutemod = {
|
||||
0
|
||||
};
|
||||
|
||||
DECLARE_MODULE(ip_mroute, ip_mroutemod, SI_SUB_PSEUDO, SI_ORDER_ANY);
|
||||
DECLARE_MODULE(ip_mroute, ip_mroutemod, SI_SUB_PSEUDO, SI_ORDER_MIDDLE);
|
||||
|
Loading…
Reference in New Issue
Block a user