aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorCiara Loftus <ciara.loftus@intel.com>2020-06-09 13:19:43 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-06-18 22:30:04 -0700
commitf140ad9fe2ae16f385f8fe4dc9cf67bb4c51d794 (patch)
treef44c113db08ef954f7a0fa52b94a172fb9fbdf3c /drivers/net/ethernet/intel/ice/ice_main.c
parentnet: increment xmit_recursion level in dev_direct_xmit() (diff)
downloadwireguard-linux-f140ad9fe2ae16f385f8fe4dc9cf67bb4c51d794.tar.xz
wireguard-linux-f140ad9fe2ae16f385f8fe4dc9cf67bb4c51d794.zip
ixgbe: 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.loftus@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions