diff options
author | Santiago Leon <santil@us.ibm.com> | 2005-11-01 14:15:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-01 21:56:40 -0800 |
commit | 6c2af71f7f6ac10ab45e9461e1dd7aa09079643a (patch) | |
tree | a8d5c8968b21a952430baa328c9144b4e56b71d9 /drivers/net/ibmveth.c | |
parent | bbc5b21284318a7c981afa85fc4f51c1256eedec (diff) | |
download | kernel_samsung_smdk4412-6c2af71f7f6ac10ab45e9461e1dd7aa09079643a.zip kernel_samsung_smdk4412-6c2af71f7f6ac10ab45e9461e1dd7aa09079643a.tar.gz kernel_samsung_smdk4412-6c2af71f7f6ac10ab45e9461e1dd7aa09079643a.tar.bz2 |
[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 <santil@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/ibmveth.c')
-rw-r--r-- | drivers/net/ibmveth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index e5246f2..94239f6 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); |