diff --git a/[refs] b/[refs] index d6f8362d9d98..85d4e96ead0a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f4f3efdaf9f0770b69fb2c86f1a67547ad756942 +refs/heads/master: e1733de2243609073534cf56afb146a62af3c3d8 diff --git a/trunk/net/core/flow_dissector.c b/trunk/net/core/flow_dissector.c index 9d4c7201400d..f8d9e03b7a7c 100644 --- a/trunk/net/core/flow_dissector.c +++ b/trunk/net/core/flow_dissector.c @@ -119,6 +119,17 @@ bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow) nhoff += 4; if (hdr->flags & GRE_SEQ) nhoff += 4; + if (proto == htons(ETH_P_TEB)) { + const struct ethhdr *eth; + struct ethhdr _eth; + + eth = skb_header_pointer(skb, nhoff, + sizeof(_eth), &_eth); + if (!eth) + return false; + proto = eth->h_proto; + nhoff += sizeof(*eth); + } goto again; } break;