Re: [Linuxptp-devel] [PATCH] clock: Split update of leap status from clock_time_properties().

2021-10-10 Thread Richard Cochran
On Wed, Oct 06, 2021 at 10:36:28AM +0200, Miroslav Lichvar wrote: > Add a separate function for the update of the grandmaster's state after > a leap second to avoid making modifications in clock_time_properties() > and call it on each master announce tx timeout. > > Suggested-by: Richard Cochran

[Linuxptp-devel] [PATCH] clock: Split update of leap status from clock_time_properties().

2021-10-06 Thread Miroslav Lichvar
Add a separate function for the update of the grandmaster's state after a leap second to avoid making modifications in clock_time_properties() and call it on each master announce tx timeout. Suggested-by: Richard Cochran Signed-off-by: Miroslav Lichvar --- clock.c | 8 ++-- clock.h | 7