Re: [PATCH net-next] ptp: Use ratelimite for freerun error message

From: Simon Horman
Date: Mon Jun 16 2025 - 06:17:38 EST


On Fri, Jun 13, 2025 at 10:15:46AM -0700, Breno Leitao wrote:
> Replace pr_err() with pr_err_ratelimited() in ptp_clock_settime() to
> prevent log flooding when the physical clock is free running, which
> happens on some of my hosts. This ensures error messages are
> rate-limited and improves kernel log readability.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>