pf: Allow the module to be unloaded
pf can now be safely unloaded. Most of this code is exercised on vnet jail shutdown. Don't block unloading.
This commit is contained in:
parent
affaad48ea
commit
d296df6369
@ -3833,12 +3833,6 @@ pf_modevent(module_t mod, int type, void *data)
|
||||
case MOD_LOAD:
|
||||
error = pf_load();
|
||||
break;
|
||||
case MOD_QUIESCE:
|
||||
/*
|
||||
* Module should not be unloaded due to race conditions.
|
||||
*/
|
||||
error = EBUSY;
|
||||
break;
|
||||
case MOD_UNLOAD:
|
||||
/* Handled in SYSUNINIT(pf_unload) to ensure it's done after
|
||||
* the vnet_pf_uninit()s */
|
||||
|
Loading…
x
Reference in New Issue
Block a user