diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2024-07-26 20:17:15 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-07-29 17:52:29 +0200 |
commit | 6044ca26210ba72b3dcc649fae1cbedd9e6ab018 (patch) | |
tree | 733df68fc63cce60237df04fc7e09943f75879bd /lib | |
parent | ice: improve updating ice_{t,r}x_ring::xsk_pool (diff) | |
download | linux-6044ca26210ba72b3dcc649fae1cbedd9e6ab018.tar.xz linux-6044ca26210ba72b3dcc649fae1cbedd9e6ab018.zip |
ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog
It is read by data path and modified from process context on remote cpu
so it is needed to use WRITE_ONCE to clear the pointer.
Fixes: efc2214b6047 ("ice: Add support for XDP")
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions