diff options
author | Eric Dumazet <edumazet@google.com> | 2013-08-06 04:35:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-09 11:06:23 -0700 |
commit | e11aada32b39a060e26fa4091cb968bd42e3bcbf (patch) | |
tree | 0db4b7b97737c5d5f8e9a312ed3b2bea41851e6e /net/core | |
parent | 77a482bdb2e68d13fae87541b341905ba70d572b (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')
-rw-r--r-- | net/core/flow_dissector.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index 00ee068efc1..b84a1b155bc 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; |