febd0759f3
cloner. This ensures that ifc->ifc_units is not prematurely freed in if_clone_detach() before the clones are destroyed, resulting in memory modified after free. This could be triggered with if_vlan. Assert that all cloners have been destroyed when freeing the memory. Change all simple cloners to destroy their clones with ifc_simple_destroy() on module unload so the reference count is properly updated. This also cleans up the interface destroy routines and allows future optimisation. Discussed with: brooks, pjd, -current Reviewed by: brooks |
||
---|---|---|
.. | ||
if_pflog.c | ||
if_pflog.h | ||
if_pfsync.c | ||
if_pfsync.h | ||
pf_if.c | ||
pf_ioctl.c | ||
pf_norm.c | ||
pf_osfp.c | ||
pf_subr.c | ||
pf_table.c | ||
pf.c | ||
pfvar.h |