mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user