1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
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 net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
Makefile net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
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
ocelot_ana.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_board.c net: mscc: fix the frame extraction into the skb 2018-09-21 09:07:50 -07:00
ocelot_dev.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_dev_gmii.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_hsio.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_io.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_qs.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_qsys.h net: mscc: Add SPDX identifier 2018-05-18 11:30:25 -04:00
ocelot_regs.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_rew.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_sys.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00