Skip to content
Commit 0d2ffdc8 authored by Eran Ben Elisha's avatar Eran Ben Elisha Committed by Saeed Mahameed
Browse files

net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow

Before calling timecounter_cyc2time(), clock->lock must be taken.
Use mlx5_timecounter_cyc2time instead which guarantees a safe access.

Fixes: afc98a0b

 ("net/mlx5: Update ptp_clock_event foreach PPS event")
Signed-off-by: default avatarEran Ben Elisha <eranbe@mellanox.com>
parent 87f3495c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment