ramips: raeth: indicate dropped packets in stats
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Feb 2012 15:11:49 +0000 (15:11 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Feb 2012 15:11:49 +0000 (15:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/drivers/net/ramips.c

index 0bc6c06..84c9fe4 100644 (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;
This page took 0.02506 seconds and 4 git commands to generate.