Re: [Linuxptp-devel] [PATCH 0/1] msg: fix incorrect suffix detection for frames longer than messageLength

2020-10-27 Thread Matt Sanders (matt8) via Linuxptp-devel
On 10/23/20 2:13 AM, Richard Cochran wrote: > On Thu, Oct 22, 2020 at 11:17:51AM +0000, Matt Sanders (matt8) via Linuxptp-devel wrote: > >> It is possible for 802.3 Ethernet adapters to be configured include the Ethernet >> CRC value in the raw frame which will be returne

[Linuxptp-devel] [PATCH 1/1] msg: fix incorrect suffix detection for frames longer than messageLength

2020-10-22 Thread Matt Sanders (matt8) via Linuxptp-devel
Signed-off-by: Matthew Sanders --- msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg.c b/msg.c index d1619d4..6d5ca37 100644 --- a/msg.c +++ b/msg.c @@ -422,7 +422,7 @@ int msg_post_recv(struct ptp_message *m, int cnt) break; } - err = s

[Linuxptp-devel] [PATCH 0/1] msg: fix incorrect suffix detection for frames longer than messageLength

2020-10-22 Thread Matt Sanders (matt8) via Linuxptp-devel
Section 13.3 of the 1588 specification* discusses the common message header format. In particular, the messageLength field is defined in 13.3.2.4 as “The total number of octets that form the PTP message. The counted octets start with the first octet of the header and include and terminate with the