> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of
> Ciara Loftus
> Sent: Tuesday, June 9, 2020 6:20 AM
> To: intel-wired-...@lists.osuosl.org
> Cc: netdev@vger.kernel.org; Topel, Bjorn <bjorn.to...@intel.com>;
> Karlsson, Magnus <magnus.karls...@intel.com>
> Subject: [Intel-wired-lan] [PATCH net 3/3] ice: protect ring accesses with
> WRITE_ONCE
> 
> The READ_ONCE macro is used when reading rings prior to accessing the
> statistics pointer. The corresponding WRITE_ONCE usage when allocating and
> freeing the rings to ensure protected access was not in place. Introduce this.
> 
> Signed-off-by: Ciara Loftus <ciara.lof...@intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c  | 8 ++++----
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)

Tested-by: Andrew Bowers <andrewx.bow...@intel.com>


Reply via email to