[PATCH net-next 0/4] net: hdlc_fr: Add support for any Ethertype
From: Xie He
Date: Wed Oct 28 2020 - 18:23:40 EST
The main purpose of this series is the last patch. The previous 3 patches
are just code clean-ups so that the last patch will not make the code too
messy. The patches must be applied in sequence.
The receiving code of this driver doesn't support arbitrary Ethertype
values. It only recognizes a few known Ethertypes when receiving and drops
skbs with other Ethertypes.
However, the standard document RFC 2427 allows Frame Relay to support any
Ethertype values. This series adds support for this.
Xie He (4):
net: hdlc_fr: Simpify fr_rx by using "goto rx_drop" to drop frames
net: hdlc_fr: Change the use of "dev" in fr_fx to make the code
cleaner
net: hdlc_fr: Improve the initial check when we receive an skb
net: hdlc_fr: Add support for any Ethertype
drivers/net/wan/hdlc_fr.c | 119 +++++++++++++++++++++++---------------
1 file changed, 73 insertions(+), 46 deletions(-)
--
2.25.1