Netdev List
 help / color / mirror / Atom feed
* [PATCH] ibmveth fix panic in initial replenish cycle
@ 2005-11-01 19:15 Santiago Leon
  2005-11-04 22:23 ` John W. Linville
  0 siblings, 1 reply; 2+ messages in thread
From: Santiago Leon @ 2005-11-01 19:15 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Santiago Leon, netdev, lkml, Jeff Garzik

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>

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);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-04 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 19:15 [PATCH] ibmveth fix panic in initial replenish cycle Santiago Leon
2005-11-04 22:23 ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox