On Mon, Feb 17, 2020 at 02:34:14PM +0200, Heikkinen, Ville (Nokia - FI/Espoo) 
> (https://www.eecis.udel.edu/~mills/database/reports/kern/kernb.pdf). In
> there, it's specified that "STA_UNSYNC set/cleared by the caller to indicate
> clock unsynchronized (e.g., when no peers are reachable)". So, this is the
> reasoning why the flag could be used like this.

Good find.

FWIW, I'm not aware of any software that would unset the flag when the
clock stops being updated. That includes software that was maintained
by Dr. Mills.

It seems wrong to me to do that, but I'm not strongly opposed.

Miroslav Lichvar

Linuxptp-devel mailing list

Reply via email to