Commit 6c2af71f authored by Santiago Leon's avatar Santiago Leon Committed by 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: default avatarSantiago Leon <santil@us.ibm.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bbc5b212
...@@ -535,7 +535,7 @@ static int ibmveth_open(struct net_device *netdev) ...@@ -535,7 +535,7 @@ static int ibmveth_open(struct net_device *netdev)
} }
ibmveth_debug_printk("initial replenish cycle\n"); ibmveth_debug_printk("initial replenish cycle\n");
ibmveth_replenish_task(adapter); ibmveth_interrupt(netdev->irq, netdev, NULL);
netif_start_queue(netdev); netif_start_queue(netdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment