commit | b1d95cc2391ffac0c5b27256a4fb0d2cfb021a29 | [log] [tgz] |
---|---|---|
author | Ciara Loftus <ciara.loftus@intel.com> | Tue Jun 09 13:19:45 2020 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Jun 18 22:35:34 2020 -0700 |
tree | daba3edf8a8be9f2f85ae07209ecb033e8295882 | |
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 <ciara.loftus@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>