Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98766
b: refs/heads/master
c: 7732123
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier authored and Jeff Garzik committed Jul 4, 2008
1 parent 7338064 commit 7917a65
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: 3ff2cd230de31e3b7bf2efd254e0393e5fc1d15d
refs/heads/master: 773212337941c5e26a05989532943877d72a2c83
2 changes: 1 addition & 1 deletion trunk/drivers/net/pasemi_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,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 7917a65

Please sign in to comment.