net/flow_dissector: Save vlan ethertype from headers
authorJianbo Liu <jianbol@mellanox.com>
Fri, 6 Jul 2018 05:38:12 +0000 (05:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2018 11:51:53 +0000 (20:51 +0900)
commit2064c3d4c02026572d4975177f28a58052f0a8b7
tree7b7f23e9d67d4b44a707ce2542a7f11d98700a5f
parent94c763513452b466d1e5c86b9d883ba13c9a031a
net/flow_dissector: Save vlan ethertype from headers

Change vlan dissector key to save vlan tpid to support both 802.1Q
and 802.1AD ethertype.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c