]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe865957fb4cac8c831fa79a291fa46fc415428f
tree65e34ca8a970957fe1883989547614b6b22bece9
parent72e04a80c16f9e550dffff11c19251486ad33f0b
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: 09ac1648e849 ("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