ramips: raeth: indicate dropped packets in stats

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-02-11 15:11:49 +00:00
parent 6653e13884
commit 9ab3461a35
1 changed files with 2 additions and 0 deletions

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;