Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247010
b: refs/heads/master
c: 96339d6
h: refs/heads/master
v: v3
  • Loading branch information
Shan Wei authored and David S. Miller committed Apr 28, 2011
1 parent 7278fa3 commit 820f7bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: f6d8bd051c391c1c0458a30b2a7abcd939329259
refs/heads/master: 96339d6c490a32de35fa798ca7922d13a8538ecd
2 changes: 1 addition & 1 deletion trunk/drivers/net/tile/tilepro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ static int tile_net_tx(struct sk_buff *skb, struct net_device *dev)
unsigned int len = skb->len;
unsigned char *data = skb->data;

unsigned int csum_start = skb->csum_start - skb_headroom(skb);
unsigned int csum_start = skb_checksum_start_offset(skb);

lepp_frag_t frags[LEPP_MAX_FRAGS];

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb, u32 features)
/* Do software UFO. Complete and fill in the UDP checksum as HW cannot
* do checksum of UDP packets sent as multiple IP fragments.
*/
offset = skb->csum_start - skb_headroom(skb);
offset = skb_checksum_start_offset(skb);
csum = skb_checksum(skb, offset, skb->len- offset, 0);
offset += skb->csum_offset;
*(__sum16 *)(skb->data + offset) = csum_fold(csum);
Expand Down

0 comments on commit 820f7bc

Please sign in to comment.