1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 07:01:44 +02:00

ramips: raeth: indicate dropped packets in stats

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-02-11 15:11:49 +00:00
parent b10ad5f4e0
commit 202c4f386c

View File

@ -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;