Commit 0b1ab1b8 authored by Eduardo Habkost's avatar Eduardo Habkost Committed by Jeff Garzik

xen-netfront: use netif_start_queue() on xennet_open()

xen-netfront never called netif_start_queue() and was was waking the
queue on xennet_open(), triggering the BUG_ON() on __netif_schedule().
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent b08c42b2
...@@ -329,7 +329,7 @@ static int xennet_open(struct net_device *dev) ...@@ -329,7 +329,7 @@ static int xennet_open(struct net_device *dev)
} }
spin_unlock_bh(&np->rx_lock); spin_unlock_bh(&np->rx_lock);
xennet_maybe_wake_tx(dev); netif_start_queue(dev);
return 0; return 0;
} }
......
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