diff options
author | Eric Dumazet <edumazet@google.com> | 2013-08-06 11:35:06 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-09 18:06:23 (GMT) |
commit | e11aada32b39a060e26fa4091cb968bd42e3bcbf (patch) | |
tree | 0db4b7b97737c5d5f8e9a312ed3b2bea41851e6e | |
parent | 77a482bdb2e68d13fae87541b341905ba70d572b (diff) | |
download | linux-e11aada32b39a060e26fa4091cb968bd42e3bcbf.tar.xz |
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>
-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 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; |