diff options
| author | 2022-07-15 18:27:07 -0400 | |
|---|---|---|
| committer | 2022-08-11 08:32:08 -0700 | |
| commit | 7fe05e125d5f730bd2d0fc53985bee77b6c762f0 (patch) | |
| tree | 87aa76126ec1b9cf303b60b5cca07439c54a6d57 /tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
| download | linux-dev-7fe05e125d5f730bd2d0fc53985bee77b6c762f0.tar.xz linux-dev-7fe05e125d5f730bd2d0fc53985bee77b6c762f0.zip | |
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 'tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
