Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265314
b: refs/heads/master
c: e971b72
h: refs/heads/master
v: v3
  • Loading branch information
Tom Herbert authored and David S. Miller committed Aug 18, 2011
1 parent 4fbaa5e commit f973077
Show file tree
Hide file tree
Showing 2 changed files with 8 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: bdeab991918663aed38757904219e8398214334c
refs/heads/master: e971b7225bcb1f318811ef04628c441497372999
7 changes: 7 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
#include <linux/pci.h>
#include <linux/inetdevice.h>
#include <linux/cpu_rmap.h>
#include <linux/if_tunnel.h>

#include "net-sysfs.h"

Expand Down Expand Up @@ -2539,6 +2540,7 @@ void __skb_get_rxhash(struct sk_buff *skb)
nhoff = skb_network_offset(skb);
proto = skb->protocol;

again:
switch (proto) {
case __constant_htons(ETH_P_IP):
if (!pskb_may_pull(skb, sizeof(*ip) + nhoff))
Expand Down Expand Up @@ -2567,6 +2569,11 @@ void __skb_get_rxhash(struct sk_buff *skb)
goto done;
}

switch (ip_proto) {
default:
break;
}

ports.v32 = 0;
poff = proto_ports_offset(ip_proto);
if (poff >= 0) {
Expand Down

0 comments on commit f973077

Please sign in to comment.