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: MMI-PSA29.97-13-9~53869^2~27 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c2af71f7f6ac10ab45e9461e1dd7aa09079643a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 e5246f227c98..94239f67f3a3 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);