Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287949
b: refs/heads/master
c: b203262
h: refs/heads/master
i:
  287947: f1eecbf
v: v3
  • Loading branch information
Neil Horman authored and David S. Miller committed Feb 19, 2012
1 parent 22c4fa9 commit af8318a
Show file tree
Hide file tree
Showing 2 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: 11aad99af6ef629ff3b05d1c9f0936589b204316
refs/heads/master: b203262de63c56393d09e254242b57c002d8619d
4 changes: 2 additions & 2 deletions trunk/drivers/net/vmxnet3/vmxnet3_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ vmxnet3_parse_and_copy_hdr(struct sk_buff *skb, struct vmxnet3_tx_queue *tq,
/* for simplicity, don't copy L4 headers */
ctx->l4_hdr_size = 0;
}
ctx->copy_size = ctx->eth_ip_hdr_size +
ctx->l4_hdr_size;
ctx->copy_size = min(ctx->eth_ip_hdr_size +
ctx->l4_hdr_size, skb->len);
} else {
ctx->eth_ip_hdr_size = 0;
ctx->l4_hdr_size = 0;
Expand Down

0 comments on commit af8318a

Please sign in to comment.