diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c index 0bc6c0603..84c9fe4af 100644 --- a/target/linux/ramips/files/drivers/net/ramips.c +++ b/target/linux/ramips/files/drivers/net/ramips.c @@ -293,6 +293,8 @@ ramips_eth_rx_hw(unsigned long ptr) new_skb->data, MAX_RX_LENGTH, DMA_FROM_DEVICE); + } else { + dev->stats.rx_dropped++; } priv->rx[rx].rxd2 &= ~RX_DMA_DONE; |