Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184274
b: refs/heads/master
c: a77ff70
h: refs/heads/master
v: v3
  • Loading branch information
Nick Nunley authored and David S. Miller committed Feb 17, 2010
1 parent f53fea8 commit 7856c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 58fd62f525e1182fbb2f7566aecb4545720d9aad
refs/heads/master: a77ff709dd30a263f8154b05a8514b46098b42ba
8 changes: 3 additions & 5 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3647,14 +3647,12 @@ static inline int igb_tx_map_adv(struct igb_ring *tx_ring, struct sk_buff *skb,
buffer_info->length = 0;
buffer_info->next_to_watch = 0;
buffer_info->mapped_as_page = false;
count--;

/* clear timestamp and dma mappings for remaining portion of packet */
while (count >= 0) {
count--;
while (count--) {
if (i == 0)
i = tx_ring->count;
i--;
if (i < 0)
i += tx_ring->count;
buffer_info = &tx_ring->buffer_info[i];
igb_unmap_and_free_tx_resource(tx_ring, buffer_info);
}
Expand Down

0 comments on commit 7856c3d

Please sign in to comment.