Moritz Fischer 33e2b32b5d 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>
2020-02-05 14:21:31 +01:00
..
2020-01-29 18:53:37 -08:00
2020-01-29 18:16:16 -08:00
2020-01-29 10:35:54 -08:00
2020-01-23 00:35:50 +01:00
2020-01-27 13:03:00 -08:00
2020-02-04 07:21:04 +00:00
2020-01-30 08:04:01 -08:00
2020-02-04 07:17:41 +00:00
2020-01-31 14:40:36 -08:00
2020-01-31 14:48:54 -08:00
2020-02-04 13:06:46 +00:00
2020-02-04 07:17:41 +00:00
2020-02-04 07:17:41 +00:00
2020-02-04 13:06:46 +00:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-02-04 13:06:46 +00:00
2020-02-04 07:17:41 +00:00
2020-02-03 14:51:57 +00:00
2020-02-04 07:17:41 +00:00
2020-01-31 11:28:31 -08:00
2020-01-29 18:16:16 -08:00
2020-01-31 11:28:31 -08:00
2020-01-30 08:04:01 -08:00
2020-02-03 22:22:05 +00:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-01-27 13:03:00 -08:00
2020-01-30 08:04:01 -08:00