From: Eduardo Habkost Date: Thu, 31 Jul 2008 20:36:55 +0000 (-0300) Subject: xen-netfront: use netif_start_queue() on xennet_open() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0b1ab1b8a4f663a34c23f31d796fd08283b6077a;p=linux-beck.git 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: Eduardo Habkost Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index 902bbe788215..c749bdba214c 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c @@ -329,7 +329,7 @@ static int xennet_open(struct net_device *dev) } spin_unlock_bh(&np->rx_lock); - xennet_maybe_wake_tx(dev); + netif_start_queue(dev); return 0; }