提交 0b1ab1b8 编写于 作者: E Eduardo Habkost 提交者: Jeff Garzik

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: NEduardo Habkost <ehabkost@redhat.com>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 b08c42b2
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册