mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
94c7635134
commit
2064c3d4c0
2 changed files with 3 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ struct flow_dissector_key_tags {
|
|||
struct flow_dissector_key_vlan {
|
||||
u16 vlan_id:12,
|
||||
vlan_priority:3;
|
||||
u16 padding;
|
||||
__be16 vlan_tpid;
|
||||
};
|
||||
|
||||
struct flow_dissector_key_mpls {
|
||||
|
|
|
|||
Loading…
Reference in a new issue