Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266674
b: refs/heads/master
c: a1f4e8b
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 13, 2011
1 parent 049e344 commit 4bc72c2
Show file tree
Hide file tree
Showing 2 changed files with 2 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: bdb28a97f46b5307e6e9351de52a9dd03e711a2f
refs/heads/master: a1f4e8bcbccf50cf1894c263af4d677d4f566533
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/broadcom/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3051,7 +3051,6 @@ bnx2_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, struct sk_buff *skb,
&skb_shinfo(skb)->frags[i - 1];
frag->size -= tail;
skb->data_len -= tail;
skb->truesize -= tail;
}
return 0;
}
Expand Down Expand Up @@ -3083,7 +3082,7 @@ bnx2_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, struct sk_buff *skb,

frag_size -= frag_len;
skb->data_len += frag_len;
skb->truesize += frag_len;
skb->truesize += PAGE_SIZE;
skb->len += frag_len;

pg_prod = NEXT_RX_BD(pg_prod);
Expand Down

0 comments on commit 4bc72c2

Please sign in to comment.