Xie He
54b77a77e3
net: hdlc_fr: Add support for any Ethertype
...
Change the fr_rx function to make this driver support any Ethertype
when receiving skbs on normal (non-Ethernet-emulating) PVC devices.
(This driver is already able to handle any Ethertype when sending.)
Originally in the fr_rx function, the code that parses the long (10-byte)
header only recognizes a few Ethertype values and drops frames with other
Ethertype values. This patch replaces this code to make fr_rx support
any Ethertype. This patch also creates a new function fr_snap_parse as
part of the new code.
Cc: Krzysztof Halasa <khc@pm.waw.pl >
Signed-off-by: Xie He <xie.he.0141@gmail.com >
Acked-by: Willem de Bruijn <willemb@google.com >
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2020-11-03 15:19:21 -08:00
..
2020-10-23 16:38:36 -07:00
2020-10-17 15:05:30 -06:00
2020-10-25 10:59:34 -07:00
2020-10-23 16:27:03 -07:00
2020-10-25 10:55:35 -07:00
2020-10-15 18:42:13 -07:00
2020-10-24 10:39:22 -07:00
2020-10-24 20:21:57 +02:00
2020-10-25 14:51:49 -07:00
2020-10-25 14:51:49 -07:00
2020-10-24 10:39:22 -07:00
2020-10-16 12:21:15 -07:00
2020-10-16 12:36:38 -07:00
2020-10-19 14:28:30 -07:00
2020-10-24 10:39:22 -07:00
2020-10-15 14:43:29 -07:00
2020-10-12 13:26:49 -07:00
2020-10-24 10:39:22 -07:00
2020-10-14 15:56:58 -07:00
2020-10-24 10:39:22 -07:00
2020-10-23 16:16:31 -07:00
2020-10-16 11:31:55 -07:00
2020-10-24 10:33:08 -07:00
2020-10-05 12:43:54 +02:00
2020-10-25 13:33:54 +01:00
2020-10-17 11:01:01 -07:00
2020-10-13 12:12:44 -07:00
2020-10-16 17:28:32 +02:00
2020-10-23 10:54:13 -07:00
2020-10-28 09:45:25 -03:00
2020-10-25 10:59:34 -07:00
2020-10-20 09:35:06 -07:00
2020-10-25 14:51:49 -07:00
2020-10-07 12:02:58 +02:00
2020-10-16 09:28:45 -06:00
2020-10-16 12:21:15 -07:00
2020-10-24 10:39:22 -07:00
2020-10-14 15:05:38 -07:00
2020-10-15 14:43:29 -07:00
2020-10-24 10:39:22 -07:00
2020-10-14 15:15:35 -07:00
2020-10-14 15:56:58 -07:00
2020-10-22 12:41:00 -07:00
2020-10-24 10:33:08 -07:00
2020-10-18 09:56:50 -07:00
2020-11-03 15:19:21 -08:00
2020-10-20 10:36:41 -07:00
2020-10-25 11:12:31 -07:00
2020-10-13 18:38:28 -07:00
2020-10-28 09:14:49 -03:00
2020-10-25 20:37:55 -05:00
2020-10-06 12:26:45 +02:00
2020-10-06 07:07:03 +02:00
2020-10-22 13:00:44 -07:00
2020-10-01 22:30:07 +01:00
2020-10-22 12:41:00 -07:00
2020-10-14 15:25:04 -07:00
2020-10-23 16:16:31 -07:00
2020-10-08 18:00:08 +02:00
2020-10-24 10:33:08 -07:00
2020-10-19 17:40:53 +02:00
2020-10-24 10:33:08 -07:00
2020-10-16 11:11:22 -07:00
2020-10-05 16:54:56 +01:00
2020-10-22 12:56:33 -07:00
2020-10-24 10:39:22 -07:00
2020-10-22 12:58:21 -07:00
2020-10-21 11:22:08 -07:00
2020-10-26 16:29:14 -07:00
2020-10-26 15:45:22 -07:00
2020-10-24 10:44:18 -07:00
2020-10-01 22:59:55 +02:00
2020-10-24 10:33:08 -07:00
2020-10-29 19:27:45 +01:00
2020-10-23 16:19:02 -07:00
2020-10-25 14:51:49 -07:00
2020-10-24 10:33:08 -07:00
2020-10-24 10:33:08 -07:00
2020-10-23 11:00:57 -07:00
2020-10-22 13:00:44 -07:00
2020-10-21 10:48:10 -04:00
2020-10-27 14:39:29 -07:00
2020-10-02 11:36:13 +02:00
2020-10-23 11:00:57 -07:00
2020-10-05 14:49:24 +02:00
2020-10-24 10:33:08 -07:00
2020-10-25 10:55:35 -07:00