On 23/10/2024 5:30, Chris H wrote:
From: Christopher S M Hall <christopher.s.h...@intel.com>
Move ktime_get_snapshot() into the loop. If a retry does occur, a more
recent snapshot will result in a more accurate cross-timestamp.

Fixes: a90ec8483732 ("igc: Add support for PTP getcrosststamp()")
Signed-off-by: Christopher S M Hall <christopher.s.h...@intel.com>
---
  drivers/net/ethernet/intel/igc/igc_ptp.c | 18 +++++++++---------
  1 file changed, 9 insertions(+), 9 deletions(-)

Tested-by: Mor Bar-Gabay <morx.bar.ga...@intel.com>

Reply via email to