[Intel-wired-lan] [PATCH net-next] ice: Fix crash in switchdev mode during VFR

Penigalapati, Sandeep sandeep.penigalapati at intel.com
Wed Aug 11 05:52:38 UTC 2021


>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Wojciech Drewek
>Sent: Monday, July 19, 2021 4:58 PM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next] ice: Fix crash in switchdev mode
>during VFR
>
>During VF reset VF VSI is released, because of that there was a risk of calling
>ice_repr_get_stats64 or ice_get_drvinfo when VF VSI was NULL. The solution is
>to use ice_check_vf_ready_for_cfg function.
>
>Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
>---
> drivers/net/ethernet/intel/ice/ice_ethtool.c     | 27 ++++++++++++++++++++---
>-
> drivers/net/ethernet/intel/ice/ice_repr.c        |  6 +++++-
> drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c |  2 +-
>drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h |  6 ++++++
> 4 files changed, 35 insertions(+), 6 deletions(-)
>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>


More information about the Intel-wired-lan mailing list