OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08c42b
)
xen-netfront: use netif_start_queue() on xennet_open()
author
Eduardo Habkost
<ehabkost@redhat.com>
Thu, 31 Jul 2008 20:36:55 +0000
(17:36 -0300)
committer
Jeff 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
patch
|
blob
|
history
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index
902bbe7
..
c749bdb
100644
(file)
--- 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;
}