[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200205.142158.1877672466689439631.davem@davemloft.net>
Date: Wed, 05 Feb 2020 14:21:58 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: mdf@...nel.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-parisc@...r.kernel.org, mst@...hat.com, hkallweit1@...il.com,
morats@...gle.com
Subject: Re: [PATCH] net: ethernet: dec: tulip: Fix length mask in receive
length calculation
From: Moritz Fischer <mdf@...nel.org>
Date: Tue, 4 Feb 2020 15:01:18 -0800
> The receive frame length calculation uses a wrong mask to calculate the
> length of the received frames.
>
> Per spec table 4-1 the length is contained in the FL (Frame Length)
> field in bits 30:16.
>
> This didn't show up as an issue so far since frames were limited to
> 1500 bytes which falls within the 11 bit window.
>
> Signed-off-by: Moritz Fischer <mdf@...nel.org>
Applied, thanks.
Powered by blists - more mailing lists