Message ID | 1290528912.15453.3.camel@lb-tlvb-vladz |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index 94d5f59..5189788 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c @@ -144,14 +144,14 @@ int bnx2x_tx_int(struct bnx2x_fastpath *fp) * stops the queue */ - __netif_tx_lock(txq, smp_processor_id()); + __netif_tx_lock_bh(txq); if ((netif_tx_queue_stopped(txq)) && (bp->state == BNX2X_STATE_OPEN) && (bnx2x_tx_avail(fp) >= MAX_SKB_FRAGS + 3)) netif_tx_wake_queue(txq); - __netif_tx_unlock(txq); + __netif_tx_unlock_bh(txq); } return 0; }