summaryrefslogtreecommitdiff
path: root/net/core/flow_dissector.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-08-06 04:35:06 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-09 11:06:23 -0700
commite11aada32b39a060e26fa4091cb968bd42e3bcbf (patch)
tree0db4b7b97737c5d5f8e9a312ed3b2bea41851e6e /net/core/flow_dissector.c
parent77a482bdb2e68d13fae87541b341905ba70d572b (diff)
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/flow_dissector.c')
-rw-r--r--net/core/flow_dissector.c1
1 files changed, 1 insertions, 0 deletions
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;