[PATCH][resend] xen-netfront: use netif_start_queue() on xennet_open()
- From: Eduardo Habkost <ehabkost@xxxxxxxxxx>
- Date: Thu, 31 Jul 2008 17:36:55 -0300
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@xxxxxxxxxx>
---
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 902bbe7..c749bdb 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;
}
--
1.5.5.GIT
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Prev by Date: Re: libata badness
- Next by Date: Re: linux-next: Tree for July 30
- Previous by thread: [patch] x86 BIOS interface for partitioning and system serial number on SGI UV
- Next by thread: Heavy suspend and io problems in 2.6.27-rc1-00156-g94ad374
- Index(es):