ramips: raeth: indicate dropped packets in stats

SVN-Revision: 30440
This commit is contained in:
Gabor Juhos 2012-02-11 15:11:49 +00:00
parent c67adbbddb
commit 8250692359

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;