Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159465
b: refs/heads/master
c: cdab23b
h: refs/heads/master
i:
  159463: 100d017
v: v3
  • Loading branch information
Sathya Perla authored and David S. Miller committed Aug 13, 2009
1 parent d4d069b commit c08afdd
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: a8e9179a7de196d37410fd3e9528081f22c70a4e
refs/heads/master: cdab23b7017693c00dd69fa28bcdf5b0434b3838
2 changes: 1 addition & 1 deletion trunk/drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ static void be_rx_q_clean(struct be_adapter *adapter)

/* Then free posted rx buffer that were not used */
tail = (rxq->head + rxq->len - atomic_read(&rxq->used)) % rxq->len;
for (; tail != rxq->head; index_inc(&tail, rxq->len)) {
for (; atomic_read(&rxq->used) > 0; index_inc(&tail, rxq->len)) {
page_info = get_rx_page_info(adapter, tail);
put_page(page_info->page);
memset(page_info, 0, sizeof(*page_info));
Expand Down

0 comments on commit c08afdd

Please sign in to comment.