From: Santiago Leon Date: Tue, 1 Nov 2005 19:15:09 +0000 (-0500) Subject: [PATCH] ibmveth fix panic in initial replenish cycle X-Git-Tag: v2.6.15-rc1~18^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c2af71f7f6ac10ab45e9461e1dd7aa09079643a;p=linux-2.6 [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 --- 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);