Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156894
b: refs/heads/master
c: 973507c
h: refs/heads/master
v: v3
  • Loading branch information
roel kluin authored and David S. Miller committed Aug 10, 2009
1 parent c8128dc commit 596e8f2
Show file tree
Hide file tree
Showing 2 changed files with 4 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: be12159b24c532b4b48bdec5a543336438faa132
refs/heads/master: 973507cb8610d4c84f090d5f1f0ca54fa0559d27
5 changes: 3 additions & 2 deletions trunk/drivers/net/mlx4/en_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,9 @@ static int mlx4_en_complete_rx_desc(struct mlx4_en_priv *priv,
PCI_DMA_FROMDEVICE);
}
/* Adjust size of last fragment to match actual length */
skb_frags_rx[nr - 1].size = length -
priv->frag_info[nr - 1].frag_prefix_size;
if (nr > 0)
skb_frags_rx[nr - 1].size = length -
priv->frag_info[nr - 1].frag_prefix_size;
return nr;

fail:
Expand Down

0 comments on commit 596e8f2

Please sign in to comment.