Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376106
b: refs/heads/master
c: 3aefe2b
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and David S. Miller committed May 16, 2013
1 parent a983ca4 commit 3dc32c6
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: 6ff50cd55545d922f5c62776fe1feb38a9846168
refs/heads/master: 3aefe2b4a8003517d6e15112f806fd4069785389
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/marvell/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ static int txq_reclaim(struct tx_queue *txq, int budget, int force)
struct netdev_queue *nq = netdev_get_tx_queue(mp->dev, txq->index);
int reclaimed;

__netif_tx_lock(nq, smp_processor_id());
__netif_tx_lock_bh(nq);

reclaimed = 0;
while (reclaimed < budget && txq->tx_desc_count > 0) {
Expand Down Expand Up @@ -913,7 +913,7 @@ static int txq_reclaim(struct tx_queue *txq, int budget, int force)
dev_kfree_skb(skb);
}

__netif_tx_unlock(nq);
__netif_tx_unlock_bh(nq);

if (reclaimed < budget)
mp->work_tx &= ~(1 << txq->index);
Expand Down

0 comments on commit 3dc32c6

Please sign in to comment.