On Thu, 31 Jan 2019 16:28:30 +0000, Vincent Li X wrote:
> we might also need to check again m->header.messageLength is bigger than
> cnt.

This might not be a bad idea; if the packet length is inconsistent with
the PTP or 802.3 standard, a warning can be emitted and the packet
dropped and not processed further. This would make linuxptp more robust
against randomly malformed packets and would give some indication to
users that the other end or intermediate network equipment is broken.

 Jiri


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to