ramips: raeth: indicate dropped packets in stats
SVN-Revision: 30440
This commit is contained in:
parent
c67adbbddb
commit
8250692359
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue