[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABikg9wC+L4cLRDDuzCVtYt9UHJMPi108V+KoGaw1WjH2SzofA@mail.gmail.com>
Date: Thu, 13 Oct 2022 18:47:15 +0300
From: Sergei Antonov <saproj@...il.com>
To: David Laight <David.Laight@...lab.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>,
"pabeni@...hat.com" <pabeni@...hat.com>
Subject: Re: [PATCH v2 net] net: ftmac100: do not reject packets bigger than 1514
On Thu, 13 Oct 2022 at 07:24, David Laight <David.Laight@...lab.com> wrote:
>
> From: Sergei Antonov
> > Sent: 12 October 2022 17:43
> >
> > On Wed, 12 Oct 2022 at 19:13, David Laight <David.Laight@...lab.com> wrote:
> > >
> > > From: Sergei Antonov
> > > > Sent: 12 October 2022 16:38
> > > >
> > > > Despite the datasheet [1] saying the controller should allow incoming
> > > > packets of length >=1518, it only allows packets of length <=1514.
>
> Actually I bet the datasheet is correct.
> The length check is probably done before the CRC is discarded.
Thanks for clarification.
I will make a v3 version of the patch without datasheet blaming and
using the approach with MTU suggested in this thread.
Powered by blists - more mailing lists