mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
[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: Santiago Leon <santil@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bbc5b21284
commit
6c2af71f7f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user