Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266681
b: refs/heads/master
c: 5e6c355
h: refs/heads/master
i:
  266679: 8128149
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 14, 2011
1 parent 05db43d commit 6e04985
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: 5935f81c595897d213afcf756e3e41af7c704f0e
refs/heads/master: 5e6c355c47e75314fd2282d087616069d4093ecf
2 changes: 1 addition & 1 deletion trunk/drivers/net/vmxnet3/vmxnet3_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ vmxnet3_append_frag(struct sk_buff *skb, struct Vmxnet3_RxCompDesc *rcd,
frag->page_offset = 0;
frag->size = rcd->len;
skb->data_len += frag->size;
skb->truesize += PAGE_SIZE;
skb_shinfo(skb)->nr_frags++;
}

Expand Down Expand Up @@ -1277,7 +1278,6 @@ vmxnet3_rq_rx_complete(struct vmxnet3_rx_queue *rq,
skb = ctx->skb;
if (rcd->eop) {
skb->len += skb->data_len;
skb->truesize += skb->data_len;

vmxnet3_rx_csum(adapter, skb,
(union Vmxnet3_GenericDesc *)rcd);
Expand Down

0 comments on commit 6e04985

Please sign in to comment.