Re: [Linuxptp-users] rogue peer delay response caused by port_synchronize()
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2023-03-15 08:03:58
|
On Wed, Mar 15, 2023 at 03:48:41PM +0800, merlinhe wrote: > Hello Team, > > I recently encountered a *rogue peer delay response* error which seemly > caused by function port_synchronize() reset peer_delay_req pointer. > I'd like to know why port_synchronize() reset p->peer_delay_req to NULL is > needed, can i comment this to avoid the rogue peer delay response error? The clock jumping in the middle of a peer delay measurement corrupts the result. Pretending there was no request is a simple solution to avoid accepting the response, although the error message is confusing. -- Miroslav Lichvar |