On Tue, Nov 22, 2022 at 08:59:48PM -0800, davidjm via Linuxptp-devel wrote:
> Set the timer only when an event causes the port to transition to the
> FAULTY state. Previously this was done based only on the port's current
> state, and events on that port (such as RTNL messages) cause it to
>
Set the timer only when an event causes the port to transition to the
FAULTY state. Previously this was done based only on the port's current
state, and events on that port (such as RTNL messages) cause it to
repeatedly re-arm itself, potentially never clearing.
Signed-off-by: davidjm
---
From: Changqing Li
Refer [1],from make 4.4, all variables that are marked as export will
also be passed to the shell started by the shell function. use "=" will
make KBUILD_OUTPUT always empty for shell function, use "?=" to make
"export KBUILD_OUTPUT" in enrironment can work.
[snip of 4.4
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