Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Santiago Leon and committed by
Linus Torvalds
6c2af71f bbc5b212

+1 -1
+1 -1
drivers/net/ibmveth.c
··· 535 535 } 536 536 537 537 ibmveth_debug_printk("initial replenish cycle\n"); 538 - ibmveth_replenish_task(adapter); 538 + ibmveth_interrupt(netdev->irq, netdev, NULL); 539 539 540 540 netif_start_queue(netdev); 541 541