Hello, I'm running the ptp4l unicast service on some point-multipoint radio devices (they don't support timestamped broadcasts). I'm finding that after a link-down, link-up sequence the unicast service does not recover. The fdtimer driving the service at the master doesn't seem to get rearmed. I find that the patch below seems to fix the issue for me, however I don't know the code well enough to be sure that its the right fix. I'd be grateful for any thoughts on the matter.
Best regards, Neil Murphy. index d42c549..028b698 100644 --- a/unicast_service.c +++ b/unicast_service.c @@ -308,6 +308,7 @@ int unicast_service_add(struct port *p, struct ptp_message *m, if (ctmp->message_types & mask) { /* Contract is unchanged. */ unicast_service_extend(ctmp, req); + unicast_service_rearm_timer(p); return SERVICE_GRANTED; } /* This is the one to use. */ _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users