From: Eric Dumazet Date: Tue, 6 Aug 2013 11:35:06 +0000 (-0700) Subject: net: flow_dissector: add 802.1ad support X-Git-Tag: accepted/tizen/common/20141203.182822~1696^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e11aada32b39a060e26fa4091cb968bd42e3bcbf;p=platform%2Fkernel%2Flinux-arm64.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 00ee068..b84a1b1 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;