|
@@ -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) {
|
|
@@ -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);
|