aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2020-02-04 15:01:18 -0800
committerDavid S. Miller <davem@davemloft.net>2020-02-05 14:21:31 +0100
commit33e2b32b5df2b544ac5d43c4de2194bcc822b1b5 (patch)
treed6a1cb4363e7c15cf6ad8772ee9aaeeffbe2f94e /net
parentMerge branch 'wg-fixes' (diff)
downloadlinux-dev-33e2b32b5df2b544ac5d43c4de2194bcc822b1b5.tar.xz
linux-dev-33e2b32b5df2b544ac5d43c4de2194bcc822b1b5.zip
net: ethernet: dec: tulip: Fix length mask in receive length calculation
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions