freebsd-dev/sys/netpfil/pf
Kristof Provost 468cefa22e pf: Fix vnet initialisation
When running the vnet init code (pf_load_vnet()) we used to iterate over
all vnets, marking them as unhooked.
This is incorrect and leads to panics if pf is unloaded, as the unload
code does not unregister the pfil hooks (because the vnet is marked as
unhooked).

There's no need or reason to touch other vnets during initialisation.
Their pf_load_vnet() function will be triggered, which handles all
required initialisation.

Reviewed by:	zec, gnn
Differential Revision:	https://reviews.freebsd.org/D10592
2017-05-07 14:33:58 +00:00
..
if_pflog.c
if_pfsync.c
in4_cksum.c
pf_altq.h
pf_if.c Since curvnet is already properly set on entry to event handlers, 2017-04-25 08:30:28 +00:00
pf_ioctl.c pf: Fix vnet initialisation 2017-05-07 14:33:58 +00:00
pf_lb.c pf: Fix a crash in low-memory situations 2017-03-06 23:41:23 +00:00
pf_mtag.h
pf_norm.c pf: Fix possible incorrect IPv6 fragmentation 2017-04-20 09:05:53 +00:00
pf_osfp.c pf: use inet_ntoa_r() instead of inet_ntoa(); maybe fix IPv6 OS fingerprinting 2017-02-16 20:44:44 +00:00
pf_ruleset.c
pf_table.c Fix VNET leakages in PF by V_irtualizing pfr_ktables and friends. 2017-04-25 08:34:39 +00:00
pf.c pf: Fix leak of pf_state_keys 2017-04-01 12:22:34 +00:00
pf.h