Commit ad39bafd authored by Jan Beulich's avatar Jan Beulich Committed by Paolo Abeni

xen-netfront: remove leftover call to xennet_tx_buf_gc()

In talk_to_netback(), called earlier from xennet_connect(), queues and
shared rings were just re-initialized, so all this function call could
result in is setting ->broken (again) right away in case any unconsumed
responses were found.
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 9b633670
...@@ -2464,10 +2464,6 @@ static int xennet_connect(struct net_device *dev) ...@@ -2464,10 +2464,6 @@ static int xennet_connect(struct net_device *dev)
if (queue->tx_irq != queue->rx_irq) if (queue->tx_irq != queue->rx_irq)
notify_remote_via_irq(queue->rx_irq); notify_remote_via_irq(queue->rx_irq);
spin_lock_irq(&queue->tx_lock);
xennet_tx_buf_gc(queue);
spin_unlock_irq(&queue->tx_lock);
spin_lock_bh(&queue->rx_lock); spin_lock_bh(&queue->rx_lock);
xennet_alloc_rx_buffers(queue); xennet_alloc_rx_buffers(queue);
spin_unlock_bh(&queue->rx_lock); spin_unlock_bh(&queue->rx_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment