projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008440e
)
cdc_eem: Use netdev stats structure
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 29 Jun 2009 16:49:40 +0000
(16:49 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 1 Jul 2009 02:46:41 +0000
(19:46 -0700)
Now that netdev has its own stats structure we should use that
instead.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_eem.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/cdc_eem.c
b/drivers/net/usb/cdc_eem.c
index
80e0177
..
cd35d50
100644
(file)
--- a/
drivers/net/usb/cdc_eem.c
+++ b/
drivers/net/usb/cdc_eem.c
@@
-319,7
+319,7
@@
static int eem_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
return crc == crc2;
if (unlikely(crc != crc2)) {
- dev->stats.rx_errors++;
+ dev->
net->
stats.rx_errors++;
dev_kfree_skb_any(skb2);
} else
usbnet_skb_return(dev, skb2);