From: Miroslav Lichvar <mlich...@redhat.com> When the minimum delay request interval is changed after processing a delay response, update the current timeout to immediately follow the new interval.
Signed-off-by: Miroslav Lichvar <mlich...@redhat.com> --- port.c | 1 + 1 file changed, 1 insertion(+) diff --git a/port.c b/port.c index d8e29d5..6cc5dd0 100644 --- a/port.c +++ b/port.c @@ -1723,6 +1723,7 @@ static void process_delay_resp(struct port *p, struct ptp_message *m) p->logMinDelayReqInterval = rsp->hdr.logMessageInterval; pr_notice("port %hu: minimum delay request interval 2^%d", portnum(p), p->logMinDelayReqInterval); + port_set_delay_tmo(p); } static void process_follow_up(struct port *p, struct ptp_message *m) -- 1.8.3.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel