Thread (23 messages) 23 messages, 2 authors, 2020-10-30

Re: [PATCH net-next v4 5/5] net: hdlc_fr: Add support for any Ethertype

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2020-10-30 21:26:36
Also in: lkml

On Fri, Oct 30, 2020 at 3:29 PM Xie He [off-list ref] wrote:
On Fri, Oct 30, 2020 at 9:33 AM Willem de Bruijn
[off-list ref] wrote:
quoted
Should this still check data[5] == FR_PAD?
No, the 6th byte (data[5]) is not a padding field. It is the first
byte of the SNAP header. The original code is misleading. That is part
of the reasons why I want to fix it with this patch.
Oh, good point. In that case

Acked-by: Willem de Bruijn <willemb@google.com>
The frame format is specified in RFC 2427
(https://tools.ietf.org/html/rfc2427). We can see in Section 4.1 and
4.2 that the 6th byte is the first byte of the SNAP header.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help