mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +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:
parent
b10ad5f4e0
commit
202c4f386c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user