diff options
| author | Benjamin Mikailenko <[email protected]> | 2022-07-15 22:27:07 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2022-08-11 15:32:08 +0000 |
| commit | 7fe05e125d5f730bd2d0fc53985bee77b6c762f0 (patch) | |
| tree | 87aa76126ec1b9cf303b60b5cca07439c54a6d57 /drivers/net/ethernet/intel/ice/ice_vf_lib.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
| download | kernel-7fe05e125d5f730bd2d0fc53985bee77b6c762f0.tar.gz kernel-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 <[email protected]>
Tested-by: Marek Szlosek <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vf_lib.c')
0 files changed, 0 insertions, 0 deletions
