diff options
author | Eric Garver <e@erig.me> | 2016-09-07 19:56:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-09 03:10:28 +0300 |
commit | fe19c4f971a55cea3be442d8032a5f6021702791 (patch) | |
tree | 13474bb3a100c29a1ae9f23ca6cc59341c5ea936 /net/wireless | |
parent | 8c146bb9d59aa2ac45222171916ece186c4b3943 (diff) | |
download | linux-fe19c4f971a55cea3be442d8032a5f6021702791.tar.xz |
vlan: Check for vlan ethernet types for 8021.q or 802.1ad
This is to simplify using double tagged vlans. This function allows all
valid vlan ethertypes to be checked in a single function call.
Also replace some instances that check for both ETH_P_8021Q and
ETH_P_8021AD.
Patch based on one originally by Thomas F Herbert.
Signed-off-by: Thomas F Herbert <thomasfherbert@gmail.com>
Signed-off-by: Eric Garver <e@erig.me>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions