diff options
author | Benjamin Mikailenko <benjamin.mikailenko@intel.com> | 2022-07-15 18:27:07 -0400 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-08-11 08:32:08 -0700 |
commit | 7fe05e125d5f730bd2d0fc53985bee77b6c762f0 (patch) | |
tree | 87aa76126ec1b9cf303b60b5cca07439c54a6d57 /drivers/net/ethernet/intel/ice/ice_vf_lib.c | |
parent | 84ba28901629cd3aa3b24d359bc4da3ac24c2329 (diff) |
ice: Fix VSI rebuild WARN_ON check for VF
In commit b03d519d3460 ("ice: store VF pointer instead of VF ID")
WARN_ON checks were added to validate the vsi->vf pointer and
catch programming errors. However, one check to vsi->vf was missed.
This caused a call trace when resetting VFs.
Fix ice_vsi_rebuild by encompassing VF pointer in WARN_ON check.
Fixes: b03d519d3460 ("ice: store VF pointer instead of VF ID")
Signed-off-by: Benjamin Mikailenko <benjamin.mikailenko@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vf_lib.c')
0 files changed, 0 insertions, 0 deletions