提交 6c2af71f 编写于 作者: S Santiago Leon 提交者: Linus Torvalds

[PATCH] ibmveth fix panic in initial replenish cycle

This patch fixes a panic in the current tree caused by a race condition between the initial replenish cycle and the rx processing of the first packets trying to replenish the buffers.
Signed-off-by: NSantiago Leon <santil@us.ibm.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 bbc5b212
......@@ -535,7 +535,7 @@ static int ibmveth_open(struct net_device *netdev)
}
ibmveth_debug_printk("initial replenish cycle\n");
ibmveth_replenish_task(adapter);
ibmveth_interrupt(netdev->irq, netdev, NULL);
netif_start_queue(netdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册