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-Tag: v2.6.27-rc3~69^2~13^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0b1ab1b8a4f663a34c23f31d796fd08283b6077a;p=linux-2.6-omap-h63xx.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 902bbe78821..c749bdba214 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; }