]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[PATCH] ibmveth fix panic in initial replenish cycle
authorSantiago Leon <santil@us.ibm.com>
Tue, 1 Nov 2005 19:15:09 +0000 (14:15 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 2 Nov 2005 05:56:40 +0000 (21:56 -0800)
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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/ibmveth.c

index e5246f227c98afef92c476a1bbe55cdef3885d1c..94239f67f3a361b840067b939b8d23d2d8b4bdaf 100644 (file)
@@ -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);