On Sun, Jul 24, 2022 at 03:49:41PM -0700, Richard Cochran wrote: > On Tue, Jun 14, 2022 at 06:17:51AM -0700, Vadim Fedorenko via Linuxptp-devel > wrote: > > @@ -467,6 +467,7 @@ void unicast_client_grant(struct port *p, struct > > ptp_message *m, > > ucma->granted |= 1 << mtype; > > > > switch (ucma->state) { > > + case UC_HAVE_ANN: > > Client should not receive a grant for ANNOUNCE in state HAVE_ANNOUNCE. > How does this happen?
It's a client which has multiple servers. Only one will switch to NEED_SYDY. The others will stay in HAVE_ANN and keep renewing the grant for the announce message. The patch fixes the renewal to be accepted. -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel