linux/drivers/net/ethernet/mscc
Antoine Tenart 652ef42c13 net: mscc: fix the frame extraction into the skb
When extracting frames from the Ocelot switch, the frame check sequence
(FCS) is present at the end of the data extracted. The FCS was put into
the sk buffer which introduced some issues (as length related ones), as
the FCS shouldn't be part of an Rx sk buffer.

This patch fixes the Ocelot switch extraction behaviour by discarding
the FCS.

Fixes: a556c76adc ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-21 09:07:50 -07:00
..
Kconfig
Makefile
ocelot_ana.h
ocelot_board.c net: mscc: fix the frame extraction into the skb 2018-09-21 09:07:50 -07:00
ocelot_dev_gmii.h
ocelot_dev.h
ocelot_hsio.h
ocelot_io.c
ocelot_qs.h
ocelot_qsys.h
ocelot_regs.c
ocelot_rew.h
ocelot_sys.h
ocelot.c net: mscc: ocelot: add VLAN filtering 2018-06-28 14:18:49 +09:00
ocelot.h net: mscc: ocelot: add bonding support 2018-06-28 14:18:49 +09:00