aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorCiara Loftus <ciara.loftus@intel.com>2020-06-09 13:19:44 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-06-18 22:31:21 -0700
commitd59e267912cd90b0adf33b4659050d831e746317 (patch)
tree0fb3ec9db137101e6f734174f976c4b2d01ba90f /tools/perf/scripts/python/bin
parentixgbe: protect ring accesses with READ- and WRITE_ONCE (diff)
downloadlinux-d59e267912cd90b0adf33b4659050d831e746317.tar.gz
linux-d59e267912cd90b0adf33b4659050d831e746317.zip
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.loftus@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions