diff options
author | Ciara Loftus <[email protected]> | 2020-06-09 13:19:45 +0000 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2020-06-18 22:35:34 -0700 |
commit | b1d95cc2391ffac0c5b27256a4fb0d2cfb021a29 (patch) | |
tree | daba3edf8a8be9f2f85ae07209ecb033e8295882 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | d59e267912cd90b0adf33b4659050d831e746317 (diff) |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions