From 6c2af71f7f6ac10ab45e9461e1dd7aa09079643a Mon Sep 17 00:00:00 2001 From: Santiago Leon Date: Tue, 1 Nov 2005 14:15:09 -0500 Subject: [PATCH] [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 Signed-off-by: Linus Torvalds --- drivers/net/ibmveth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index e5246f227c..94239f67f3 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c @@ -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); -- 2.39.5