Re: [Linuxptp-devel] ptp4l wrongly takes padding bytes as TLV?
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Jiri B. <jb...@re...> - 2019-01-31 18:24:14
|
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 |