if (__netif_tx_trylock(txq)) {
                free_old_xmit_skbs(sq, true);
+
+               if (sq->vq->num_free >= 2 + MAX_SKB_FRAGS)
+                       netif_tx_wake_queue(txq);
+
                __netif_tx_unlock(txq);
        }
-
-       if (sq->vq->num_free >= 2 + MAX_SKB_FRAGS)
-               netif_tx_wake_queue(txq);
 }
 
 static int virtnet_poll(struct napi_struct *napi, int budget)
        virtqueue_disable_cb(sq->vq);
        free_old_xmit_skbs(sq, true);
 
+       if (sq->vq->num_free >= 2 + MAX_SKB_FRAGS)
+               netif_tx_wake_queue(txq);
+
        opaque = virtqueue_enable_cb_prepare(sq->vq);
 
        done = napi_complete_done(napi, 0);
                }
        }
 
-       if (sq->vq->num_free >= 2 + MAX_SKB_FRAGS)
-               netif_tx_wake_queue(txq);
-
        return 0;
 }