lkml.org 
[lkml]   [2020]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: ethernet: dec: tulip: Fix length mask in receive length calculation
From
From: Moritz Fischer <mdf@kernel.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@kernel.org>

Applied, thanks.

\
 
 \ /
  Last update: 2020-02-05 14:22    [W:0.033 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site