Skip to content

Commit

Permalink
[PATCH] ibmveth fix panic in initial replenish cycle
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Santiago Leon authored and Linus Torvalds committed Nov 2, 2005
1 parent bbc5b21 commit 6c2af71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6c2af71

Please sign in to comment.