mirror of
https://github.com/opnsense/src.git
synced 2026-04-11 20:40:03 -04:00
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 |
||
|---|---|---|
| .. | ||
| altq/altq | ||
| dev | ||
| ia64/libuwx | ||
| ipfilter/netinet | ||
| ngatm | ||
| pf | ||