mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
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
SVN-Revision: 16277
This commit is contained in:
parent
1a1dc17ca3
commit
05b40c8d13
@ -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
|
/* no more packet in rx/tx queue, remove device from poll
|
||||||
* queue */
|
* queue */
|
||||||
__netif_rx_complete(dev, napi);
|
netif_rx_complete(dev, napi);
|
||||||
|
|
||||||
/* restore rx/tx interrupt */
|
/* restore rx/tx interrupt */
|
||||||
enet_dma_writel(priv, ENETDMA_IR_PKTDONE_MASK,
|
enet_dma_writel(priv, ENETDMA_IR_PKTDONE_MASK,
|
||||||
|
Loading…
Reference in New Issue
Block a user