Re: [PATCH] net: ethernet: dec: tulip: Fix length mask in receive length calculation

From: David Miller
Date: Wed Feb 05 2020 - 08:22:03 EST


From: Moritz Fischer <mdf@xxxxxxxxxx>
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@xxxxxxxxxx>

Applied, thanks.