Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265335
b: refs/heads/master
c: ae1511b
h: refs/heads/master
i:
  265333: bde3001
  265331: 004ef54
  265327: 04c694e
v: v3
  • Loading branch information
Changli Gao authored and David S. Miller committed Aug 19, 2011
1 parent 93f14c2 commit fe2551b
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 1ff1986fc94ee711df3cf19d45f2abf351436a6d
refs/heads/master: ae1511bf769cafeae5ab61aaf9947a16a22cbd10
8 changes: 8 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
#include <linux/inetdevice.h>
#include <linux/cpu_rmap.h>
#include <linux/if_tunnel.h>
#include <linux/if_pppox.h>

#include "net-sysfs.h"

Expand Down Expand Up @@ -2573,6 +2574,13 @@ void __skb_get_rxhash(struct sk_buff *skb)
proto = vlan->h_vlan_encapsulated_proto;
nhoff += sizeof(*vlan);
goto again;
case __constant_htons(ETH_P_PPP_SES):
if (!pskb_may_pull(skb, PPPOE_SES_HLEN + nhoff))
goto done;
proto = *((__be16 *) (skb->data + nhoff +
sizeof(struct pppoe_hdr)));
nhoff += PPPOE_SES_HLEN;
goto again;
default:
goto done;
}
Expand Down

0 comments on commit fe2551b

Please sign in to comment.