fix an issue on ice which increasing VF queue count causes
out-of-bounds access of the statistics arrays
Przemek Kitszel (2):
ice: move ice_vsi_realloc_stat_arrays() up
ice: fix stats array overflow via proper realloc
drivers/net/ethernet/intel/ice/ice.h | 2 +
drivers/net/ethernet/intel/ice/ice_lib.c | 195 ++++++++++-------------
2 files changed, 84 insertions(+), 113 deletions(-)
Previous revision of the fix was part of our last bundle [0],
but here I'm improving only my patches
[0] https://lore.kernel.org/netdev/20260804222205.1580328-1-anthony.l.nguyen@intel.com (local)
changes:
apply Sashiko feedback for edge cases, see the patch for details
drop the rest of the patches for now - with the caveat that some
could still be merged directly from [0] thread
--
2.54.0