pfsync: Allow module to be unloaded
MFC after: 2 weeks Sponsored by: Orange Business Services Differential Revision: https://reviews.freebsd.org/D17505
This commit is contained in:
parent
6ab3ac5afa
commit
04fe85f068
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340070
@ -2431,12 +2431,6 @@ pfsync_modevent(module_t mod, int type, void *data)
|
||||
case MOD_LOAD:
|
||||
error = pfsync_init();
|
||||
break;
|
||||
case MOD_QUIESCE:
|
||||
/*
|
||||
* Module should not be unloaded due to race conditions.
|
||||
*/
|
||||
error = EBUSY;
|
||||
break;
|
||||
case MOD_UNLOAD:
|
||||
pfsync_uninit();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user