[Intel-wired-lan] [PATCH v2 iwl-net 7/8] ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog

Rout, ChandanX chandanx.rout at intel.com
Tue Jun 4 06:52:05 UTC 2024



>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Fijalkowski, Maciej
>Sent: Wednesday, May 29, 2024 4:54 PM
>To: intel-wired-lan at lists.osuosl.org
>Cc: Fijalkowski, Maciej <maciej.fijalkowski at intel.com>; Zaremba, Larysa
><larysa.zaremba at intel.com>; netdev at vger.kernel.org; Kubiak, Michal
><michal.kubiak at intel.com>; Nguyen, Anthony L
><anthony.l.nguyen at intel.com>; Karlsson, Magnus
><magnus.karlsson at intel.com>
>Subject: [Intel-wired-lan] [PATCH v2 iwl-net 7/8] 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")
>Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
>---
> drivers/net/ethernet/intel/ice/ice_txrx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Tested-by: Chandan Kumar Rout <chandanx.rout at intel.com> (A Contingent Worker at Intel)



More information about the Intel-wired-lan mailing list