> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Sergey Temerkhanov > Sent: 01 June 2026 14:50 > To: [email protected] > Cc: [email protected] > Subject: [Intel-wired-lan] [PATCH iwl-net v3 1/3] ice: Convert ctrl_pf > pointer in struct ice_adapter to RCU > > Use RCU to ensure the consistent state of the control PF global pointer > contained in struct ice_adapter. Enforce RCU usage on the callers. > > Fix a potential invalid pointer return due a TOCTOU issue > > Fixes: e2193f9f9ec9 ("ice: enable timesync operation on 2xNAC E825 devices") > Signed-off-by: Sergey Temerkhanov <[email protected]> > Reviewed-by: Arkadiusz Kubalewski <[email protected]> > Tested-by: Frederick Lawler <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice.h | 10 +- > drivers/net/ethernet/intel/ice/ice_adapter.h | 2 +- > drivers/net/ethernet/intel/ice/ice_ptp.c | 99 +++++++++++++------- > drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 9 ++ > 4 files changed, 84 insertions(+), 36 deletions(-) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
