[Intel-wired-lan] [PATCH v2 7/7] i40evf: Use smp_rmb rather than read_barrier_depends

Bowers, AndrewX andrewx.bowers at intel.com
Tue Nov 21 19:44:44 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Brian King
> Sent: Friday, November 17, 2017 9:06 AM
> Cc: muvic at linux.vnet.ibm.com; stable at vger.kernel.org; intel-wired-
> lan at lists.osuosl.org; brking at pobox.com
> Subject: [Intel-wired-lan] [PATCH v2 7/7] i40evf: Use smp_rmb rather than
> read_barrier_depends
> 
> The original issue being fixed in this patch was seen with the ixgbe driver, but
> the same issue exists with i40evf as well, as the code is very similar.
> read_barrier_depends is not sufficient to ensure loads following it are not
> speculatively loaded out of order by the CPU, which can result in stale data
> being loaded, causing potential system crashes.
> 
> Cc: stable<stable at vger.kernel.org>
> Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
> ---
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the Intel-wired-lan mailing list