> -----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 2/3] i40e: protect ring accesses with
> READ- and WRITE_ONCE
> 
> READ_ONCE should be used when reading rings prior to accessing the
> statistics pointer. Introduce this as well as the corresponding WRITE_ONCE
> usage when allocating and freeing the rings, to ensure protected access.
> 
> Signed-off-by: Ciara Loftus <ciara.lof...@intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 29 ++++++++++++++-------
>  1 file changed, 19 insertions(+), 10 deletions(-)

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


Reply via email to