]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
xen-netfront: use netif_start_queue() on xennet_open()
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 31 Jul 2008 20:36:55 +0000 (17:36 -0300)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 7 Aug 2008 06:11:17 +0000 (02:11 -0400)
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 <ehabkost@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/xen-netfront.c

index 902bbe7882158d5c040f8847de1ddb84bad1d0e9..c749bdba214ce1fb686daaa2c80eda4237f49fcc 100644 (file)
@@ -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;
 }