v4: - add preceding patch that fixes a case when some of re-init allocations failed and we missed de-registering netdev at failure path - pull out i40e_vsi_setup() changes onto separate patch v3: - address UAF when ring arrays were freed before q_vector's ring containers (Sashiko, Jacob) - remove bool params from alloc/free array routines (Simon) v2: - NULL vsi->tx_rings in i40e_vsi_alloc_arrays() (Sashiko)
Maciej Fijalkowski (3): i40e: unregister netdev before clearing VSI on reinit failure i40e: fix potential UAF in i40e_vsi_setup()'s error path i40e: keep q_vectors array in sync with channel count changes drivers/net/ethernet/intel/i40e/i40e_main.c | 76 ++++++++++++--------- 1 file changed, 45 insertions(+), 31 deletions(-) -- 2.43.0
