projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a482b
)
net: flow_dissector: add 802.1ad support
author
Eric Dumazet
<edumazet@google.com>
Tue, 6 Aug 2013 11:35:06 +0000
(
04:35
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Aug 2013 18:06:23 +0000
(11:06 -0700)
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>
net/core/flow_dissector.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/flow_dissector.c
b/net/core/flow_dissector.c
index 00ee068efc1c2374bc0195d9458eca00392359c6..b84a1b155bc133e39d0f118b61be85fb1d2ed02f 100644
(file)
--- 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;