Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98765
b: refs/heads/master
c: 3ff2cd2
h: refs/heads/master
i:
  98763: a44c8bd
v: v3
  • Loading branch information
Roland Dreier authored and Jeff Garzik committed Jul 4, 2008
1 parent 248f1ca commit 7338064
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 2f69ae01c83a94af5dc3c20e8135b974687ed004
refs/heads/master: 3ff2cd230de31e3b7bf2efd254e0393e5fc1d15d
2 changes: 1 addition & 1 deletion trunk/drivers/net/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ static int get_skb_hdr(struct sk_buff *skb, void **iphdr,
*tcph = tcp_hdr(skb);

/* check if ip header and tcp header are complete */
if (iph->tot_len < ip_len + tcp_hdrlen(skb))
if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb))
return -1;

*hdr_flags = LRO_IPV4 | LRO_TCP;
Expand Down

0 comments on commit 7338064

Please sign in to comment.