[Intel-wired-lan] [next S97 v2 4/6] i40e: Protect access to vf control methods

Bowers, AndrewX andrewx.bowers at intel.com
Wed Oct 31 19:16:29 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Tuesday, October 30, 2018 10:51 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next S97 v2 4/6] i40e: Protect access to vf control
> methods
> 
> From: Jan Sokolowski <jan.sokolowski at intel.com>
> 
> A scenario has been found in which simultaneous addition/removal and
> modification of VF's might cause unstable behaviour, up to and including
> kernel panics.
> 
> Protect the methods that create/modify/destroy VF's by locking them
> behind an atomically set bit in PF status bitfield.
> 
> Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h        |  1 +
>  .../ethernet/intel/i40e/i40e_virtchnl_pf.c    | 64 +++++++++++++++++--
>  2 files changed, 60 insertions(+), 5 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list