diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2008-07-31 22:36:55 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-07 08:11:17 +0200 |
commit | 0b1ab1b8a4f663a34c23f31d796fd08283b6077a (patch) | |
tree | 7735ec3111aaadadab19ad5fc5fdc2b0eae454fe /drivers | |
parent | qla3xxx: driver version change. (diff) | |
download | linux-0b1ab1b8a4f663a34c23f31d796fd08283b6077a.tar.xz linux-0b1ab1b8a4f663a34c23f31d796fd08283b6077a.zip |
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 <ehabkost@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/xen-netfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |