On Tue, Mar 20, 2018 at 08:21:09AM +0000, Anders Selhammer wrote:

> One thing that I might overseen is the growing part. I covered that
> some packets might be lost but if all delay resp are lost by some
> reason it might be good to have some kind of a limit of how many
> delay req the stack should store.

This is essential.  Otherwise your memory allocation grows without
bounds.

> For that, a counter is needed. Should I add that?

No, use a time out just like we do in other places, please.

Thanks,
Richard

------------------------------------------------------------------------------
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

Reply via email to