Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368183
b: refs/heads/master
c: e1733de
h: refs/heads/master
i:
  368181: 17f4882
  368179: 355311a
  368175: c0ea518
v: v3
  • Loading branch information
Michael Dalton authored and David S. Miller committed Mar 12, 2013
1 parent bb6ebf5 commit fa7e02e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4f3efdaf9f0770b69fb2c86f1a67547ad756942
refs/heads/master: e1733de2243609073534cf56afb146a62af3c3d8
11 changes: 11 additions & 0 deletions trunk/net/core/flow_dissector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa7e02e

Please sign in to comment.