diff options
author | Eric Garver <e@erig.me> | 2016-09-07 12:56:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-08 17:10:28 -0700 |
commit | fe19c4f971a55cea3be442d8032a5f6021702791 (patch) | |
tree | 13474bb3a100c29a1ae9f23ca6cc59341c5ea936 /net/openvswitch/flow_netlink.c | |
parent | 8c146bb9d59aa2ac45222171916ece186c4b3943 (diff) | |
download | lwn-fe19c4f971a55cea3be442d8032a5f6021702791.tar.gz lwn-fe19c4f971a55cea3be442d8032a5f6021702791.zip |
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/openvswitch/flow_netlink.c')
0 files changed, 0 insertions, 0 deletions