mirror of
https://github.com/opnsense/src.git
synced 2026-05-23 02:15:29 -04:00
Memory and PCI resources are freed with no particular order. This could
cause use-after-frees when detaching following a failed attach. For
instance, iflib_tx_structures_free() frees ctx->ifc_txqs[] but
iflib_tqg_detach() attempts to access this array. Similarly, adapter
queues gets freed by IFDI_QUEUES_FREE() but IFDI_DETACH() attempts to
access adapter queues to free PCI resources.
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D27634
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| i40e_adminq.c | ||
| i40e_adminq.h | ||
| i40e_adminq_cmd.h | ||
| i40e_alloc.h | ||
| i40e_common.c | ||
| i40e_dcb.c | ||
| i40e_dcb.h | ||
| i40e_devids.h | ||
| i40e_hmc.c | ||
| i40e_hmc.h | ||
| i40e_lan_hmc.c | ||
| i40e_lan_hmc.h | ||
| i40e_nvm.c | ||
| i40e_osdep.c | ||
| i40e_osdep.h | ||
| i40e_prototype.h | ||
| i40e_register.h | ||
| i40e_status.h | ||
| i40e_type.h | ||
| iavf.h | ||
| iavf_vc.c | ||
| if_iavf.c | ||
| if_ixl.c | ||
| ixl.h | ||
| ixl_debug.h | ||
| ixl_iw.c | ||
| ixl_iw.h | ||
| ixl_iw_int.h | ||
| ixl_pf.h | ||
| ixl_pf_i2c.c | ||
| ixl_pf_iflib.c | ||
| ixl_pf_iov.c | ||
| ixl_pf_iov.h | ||
| ixl_pf_main.c | ||
| ixl_pf_qmgr.c | ||
| ixl_pf_qmgr.h | ||
| ixl_txrx.c | ||
| virtchnl.h | ||