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
..
2018-09-07 10:05:20 +02:00
2018-09-12 09:18:29 +02:00
2018-09-05 09:17:20 -07:00
2018-08-18 11:04:51 -07:00
2018-09-12 09:31:00 +02:00
2018-09-13 19:16:11 -10:00
2018-09-11 13:33:57 +02:00
2018-08-28 09:58:03 -07:00
2018-08-29 08:09:20 -06:00
2018-09-12 19:33:56 -10:00
2018-09-17 18:47:58 -07:00
2018-08-19 09:56:38 -07:00
2018-08-23 13:52:46 -07:00
2018-08-25 13:16:08 +02:00
2018-08-29 13:38:39 -07:00
2018-09-04 16:45:02 -07:00
2018-08-18 11:04:51 -07:00
2018-08-27 11:16:04 +05:30
2018-08-17 15:13:34 +02:00
2018-08-17 16:20:27 -07:00
2018-09-06 09:59:40 -07:00
2018-09-12 09:31:00 +02:00
2018-08-08 15:44:47 +10:00
2018-08-31 11:30:45 +02:00
2018-09-14 09:38:42 +10:00
2018-09-06 16:30:53 +02:00
2018-09-12 09:31:00 +02:00
2018-09-08 15:38:57 -07:00
2018-07-30 20:54:51 -07:00
2018-08-23 18:48:43 -07:00
2018-09-06 20:49:09 +02:00
2018-08-22 07:40:33 -07:00
2018-09-09 09:33:29 +02:00
2018-09-12 19:39:56 -10:00
2018-08-23 13:44:43 -07:00
2018-08-25 14:12:36 -07:00
2018-09-06 20:31:59 +02:00
2018-08-16 12:26:24 -07:00
2018-08-06 23:03:12 +02:00
2018-08-24 14:42:42 +02:00
2018-08-15 09:53:07 +05:30
2018-09-13 19:12:55 -10:00
2018-08-26 11:48:42 -07:00
2018-09-06 10:04:07 -07:00
2018-07-30 23:17:53 -04:00
2018-08-21 17:40:46 -07:00
2018-09-12 09:31:00 +02:00
2018-09-05 08:28:45 +02:00
2018-08-27 20:41:46 +02:00
2018-08-02 10:23:02 +02:00
2018-09-21 09:07:50 -07:00
2018-08-25 18:43:59 -07:00
2018-09-05 12:18:01 -07:00
2018-09-14 13:03:17 -10:00
2018-08-18 11:04:51 -07:00
2018-09-18 09:31:53 +02:00
2018-08-18 12:30:42 -07:00
2018-08-18 11:04:51 -07:00
2018-08-29 14:02:47 +02:00
2018-08-22 14:14:15 -07:00
2018-08-23 18:48:43 -07:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-22 10:52:51 -07:00
2018-08-20 15:38:44 -07:00
2018-08-16 17:39:55 -07:00
2018-08-25 14:12:36 -07:00
2018-07-30 23:40:23 -07:00
2018-08-20 16:30:27 -07:00
2018-09-13 16:22:24 -10:00
2018-08-30 07:15:22 -04:00
2018-08-02 13:54:06 +02:00
2018-08-23 14:02:22 -07:00
2018-09-17 22:34:25 +02:00
2018-08-09 18:47:47 +03:00
2018-09-11 18:39:54 +02:00
2018-08-30 07:07:12 -04:00
2018-08-23 13:52:46 -07:00
2018-08-28 16:11:34 -07:00
2018-09-10 18:04:31 +02:00
2018-08-19 09:30:44 -07:00
2018-09-10 20:40:29 +02:00
2018-08-17 11:32:50 -07:00
2018-08-27 11:59:39 -07:00
2018-08-23 15:44:58 -07:00
2018-08-24 08:45:19 -07:00
2018-08-21 18:06:27 -07:00
2018-08-22 17:31:34 -07:00
2018-09-14 08:52:30 -04:00
2018-08-18 11:04:51 -07:00