Re: [PATCH net] net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite

From: David Miller
Date: Thu Jul 12 2018 - 17:48:08 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Wed, 11 Jul 2018 02:47:58 -0700

> 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: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied.