diff options
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index aa53a35a631b..449fe0f068f8 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -3342,7 +3342,7 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev) | |||
3342 | 3342 | ||
3343 | __netif_tx_lock_bh(txq); | 3343 | __netif_tx_lock_bh(txq); |
3344 | 3344 | ||
3345 | if (unlikely(netif_tx_queue_frozen_or_stopped(txq))) { | 3345 | if (unlikely(netif_xmit_frozen_or_stopped(txq))) { |
3346 | ret = NETDEV_TX_BUSY; | 3346 | ret = NETDEV_TX_BUSY; |
3347 | pkt_dev->last_ok = 0; | 3347 | pkt_dev->last_ok = 0; |
3348 | goto unlock; | 3348 | goto unlock; |