diff options
author | 2013-08-06 04:35:06 -0700 | |
---|---|---|
committer | 2013-08-09 11:06:23 -0700 | |
commit | e11aada32b39a060e26fa4091cb968bd42e3bcbf (patch) | |
tree | 0db4b7b97737c5d5f8e9a312ed3b2bea41851e6e /net/core | |
parent | ip_gre: fix ipgre_header to return correct offset (diff) | |
download | linux-e11aada32b39a060e26fa4091cb968bd42e3bcbf.tar.gz linux-e11aada32b39a060e26fa4091cb968bd42e3bcbf.tar.bz2 linux-e11aada32b39a060e26fa4091cb968bd42e3bcbf.zip |
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 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; |