From: Eric Dumazet Date: Tue, 6 Aug 2013 11:35:06 +0000 (-0700) Subject: net: flow_dissector: add 802.1ad support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e11aada32b39a060e26fa4091cb968bd42e3bcbf;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: flow_dissector: add 802.1ad support Same behavior than 802.1q : finds the encapsulated protocol and skip 32bit header. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index 00ee068efc1c..b84a1b155bc1 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c @@ -65,6 +65,7 @@ ipv6: nhoff += sizeof(struct ipv6hdr); break; } + case __constant_htons(ETH_P_8021AD): case __constant_htons(ETH_P_8021Q): { const struct vlan_hdr *vlan; struct vlan_hdr _vlan;