Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751156AbVKATPM (ORCPT ); Tue, 1 Nov 2005 14:15:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751155AbVKATPM (ORCPT ); Tue, 1 Nov 2005 14:15:12 -0500 Received: from e4.ny.us.ibm.com ([32.97.182.144]:23208 "EHLO e4.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1751154AbVKATPL (ORCPT ); Tue, 1 Nov 2005 14:15:11 -0500 Date: Tue, 1 Nov 2005 14:15:09 -0500 From: Santiago Leon To: Linus Torvalds Cc: Santiago Leon , netdev , lkml , Jeff Garzik Message-Id: <20051101175617.25145.73324.sendpatchset@ltcml8p7.rchland.ibm.com> Subject: [PATCH] ibmveth fix panic in initial replenish cycle Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 830 Lines: 21 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 diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c @@ -535,7 +535,7 @@ static int ibmveth_open(struct net_devic } ibmveth_debug_printk("initial replenish cycle\n"); - ibmveth_replenish_task(adapter); + ibmveth_interrupt(netdev->irq, netdev, NULL); netif_start_queue(netdev); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/