mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
ramips: raeth: indicate dropped packets in stats
SVN-Revision: 30440
This commit is contained in:
parent
c67adbbddb
commit
8250692359
@ -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