On Tue, Nov 22, 2022 at 05:07:16PM +0100, Miroslav Lichvar wrote: > After commit afeabf3c90ed ("ptp4l: add VLAN over bond support") the > TS_LABEL_CHANGED flag was set on link status changes when the used > PHC index was different from the PHC index of the interface. > > This caused the port to be constantly switching to the faulty state when > using vclocks, or a different PHC device was forced with the -p option, > where it is expected the used PHC doesn't match the interface's PHC. > > Rework port_link_status() and port_change_phc() to avoid setting the > flag and switch the clock only in the cases where it is expected. > > Fixes: afeabf3c90ed ("ptp4l: add VLAN over bond support") > Signed-off-by: Miroslav Lichvar <mlich...@redhat.com>
Applied. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel