projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67adbb
)
ramips: raeth: indicate dropped packets in stats
author
Gabor Juhos
<juhosg@openwrt.org>
Sat, 11 Feb 2012 15:11:49 +0000
(15:11 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sat, 11 Feb 2012 15:11:49 +0000
(15:11 +0000)
SVN-Revision: 30440
target/linux/ramips/files/drivers/net/ramips.c
patch
|
blob
|
history
diff --git
a/target/linux/ramips/files/drivers/net/ramips.c
b/target/linux/ramips/files/drivers/net/ramips.c
index 0bc6c0603c45d35a8c9f4a722b6b743107a8fd68..84c9fe4af56220f2c03826cb8a400031f5b2501e 100644
(file)
--- a/
target/linux/ramips/files/drivers/net/ramips.c
+++ b/
target/linux/ramips/files/drivers/net/ramips.c
@@
-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;