summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/drivers
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-01 18:27:51 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-01 18:27:51 +0000
commit7fb1c80f6cbfc37ae625f234e5dcaa8257e0e930 (patch)
tree1b82af0176dc1737d2b141e063fdf8a2eb40ec7e /target/linux/brcm63xx/files/drivers
parentb1b0b6966c2c506919bbe7c0818181a1096cb748 (diff)
[brcm63xx] backport an upstream fix: We're not disabling IRQ, so we must call the irq safe flavour of netif_rx_complete, should fix some crashes when running the system for a long time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16277 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/drivers')
-rw-r--r--target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
index 40c25651d..3dd170d68 100644
--- a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
+++ b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
@@ -450,7 +450,7 @@ static int bcm_enet_poll(struct napi_struct *napi, int budget)
/* no more packet in rx/tx queue, remove device from poll
* queue */
- __netif_rx_complete(dev, napi);
+ netif_rx_complete(dev, napi);
/* restore rx/tx interrupt */
enet_dma_writel(priv, ENETDMA_IR_PKTDONE_MASK,