ramips: raeth: indicate dropped packets in stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
6653e13884
commit
9ab3461a35
|
@ -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