freebsd-dev/sys/netpfil
Kristof Provost 64c79ee733 pf: Fix panic on unload
vnet_pf_uninit() is called through vnet_deregister_sysuninit() and
linker_file_unload() when the pf module is unloaded. This is executed
after pf_unload() so we end up trying to take locks which have been
destroyed already.

Move pf_unload() to a separate SYSUNINIT() to ensure it's called after
all the vnet_pf_uninit() calls.

Differential Revision:	https://reviews.freebsd.org/D10025
2017-05-03 20:56:54 +00:00
..
ipfw Avoid undefined behavior. 2017-04-14 11:58:41 +00:00
pf pf: Fix panic on unload 2017-05-03 20:56:54 +00:00