Commit 552133c
committed
ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog
JIRA: https://issues.redhat.com/browse/RHEL-15670
Upstream commit(s):
commit 6044ca2
Author: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Date: Fri Jul 26 20:17:15 2024 +0200
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: efc2214 ("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>
Signed-off-by: Petr Oros <poros@redhat.com>1 parent 2008427 commit 552133c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
0 commit comments