Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213883
b: refs/heads/master
c: dbe5775
h: refs/heads/master
i:
  213881: c7908bd
  213879: 18ad95f
v: v3
  • Loading branch information
Changli Gao authored and David S. Miller committed Aug 20, 2010
1 parent f404709 commit dce27a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d47b45951af087c1a4439c559309b0bf90a0718
refs/heads/master: dbe5775bbc00116ed5699babfe17c54f32eb34c3
5 changes: 4 additions & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2284,7 +2284,10 @@ __u32 __skb_get_rxhash(struct sk_buff *skb)
goto done;

ip = (struct iphdr *) skb->data + nhoff;
ip_proto = ip->protocol;
if (ip->frag_off & htons(IP_MF | IP_OFFSET))
ip_proto = 0;
else
ip_proto = ip->protocol;
addr1 = (__force u32) ip->saddr;
addr2 = (__force u32) ip->daddr;
ihl = ip->ihl;
Expand Down

0 comments on commit dce27a5

Please sign in to comment.