v5: - include three new patches to address last Sashiko review * - do not release the irq lump in rebuild path in patch 7 - clear dangling pointers from rx and xdp rings arrays 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 (7): i40e: unregister netdev before clearing VSI on reinit failure i40e: avoid null ptr dereference in i40e_ptp_stop() i40e: make ring pointers unreachable before freeing via rcu i40e: avoid deadlock when calling unregister_netdev() i40e: fix potential UAF in i40e_vsi_setup()'s error path i40e: do not expose netdev too early i40e: keep q_vectors array in sync with channel count changes drivers/net/ethernet/intel/i40e/i40e_main.c | 128 ++++++++++++-------- drivers/net/ethernet/intel/i40e/i40e_ptp.c | 5 +- 2 files changed, 82 insertions(+), 51 deletions(-) -- 2.43.0
