lan743x: trim all 4 bytes of the FCS; not just 2
authorGeorge McCollister <george.mccollister@gmail.com>
Fri, 5 Mar 2021 22:24:45 +0000 (16:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Mar 2021 22:42:55 +0000 (14:42 -0800)
commit3e21a10fdea3c2e4e4d1b72cb9d720256461af40
tree65e34ca8a970957fe1883989547614b6b22bece9
parentd8861bab48b6c1fc3cdbcab8ff9d1eaea43afe7f
lan743x: trim all 4 bytes of the FCS; not just 2

Trim all 4 bytes of the received FCS; not just 2 of them. Leaving 2
bytes of the FCS on the frame breaks DSA tailing tag drivers.

Fixes: a8db76d40e4d ("lan743x: boost performance on cpu archs w/o dma cache snooping")
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.c