|
@@ -0,0 +1,24 @@
|
|
|
|
|
+From 017879b546ee5f85d13f90236a251d56605c9e86 Mon Sep 17 00:00:00 2001
|
|
|
|
|
+From: Eric Dumazet <[email protected]>
|
|
|
|
|
+Date: Tue, 6 Aug 2013 04:35:06 -0700
|
|
|
|
|
+Subject: [PATCH 5/5] 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 <[email protected]>
|
|
|
|
|
+Signed-off-by: David S. Miller <[email protected]>
|
|
|
|
|
+---
|
|
|
|
|
+ net/core/flow_dissector.c | 1 +
|
|
|
|
|
+ 1 file changed, 1 insertion(+)
|
|
|
|
|
+
|
|
|
|
|
+--- 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;
|