Files
linux/drivers
Florian Fainelli 7c14cf2186 net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite
[ Upstream commit 9e3bff9239 ]

SYSTEMPORT Lite reversed the logic compared to SYSTEMPORT, the
GIB_FCS_STRIP bit is set when the Ethernet FCS is stripped, and that bit
is not set by default. Fix the logic such that we properly check whether
that bit is set or not and we don't forward an extra 4 bytes to the
network stack.

Fixes: 44a4524c54 ("net: systemport: Add support for SYSTEMPORT Lite")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-25 11:25:10 +02:00
..
2018-07-22 14:28:43 +02:00
2018-07-03 11:24:56 +02:00
2018-06-16 09:45:14 +02:00
2018-07-17 11:39:30 +02:00
2018-06-11 22:49:19 +02:00
2018-01-17 09:45:27 +01:00
2018-07-25 11:25:10 +02:00