OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63748aa
)
ppp_generic: Simplify tx_dropped stats
author
Paulius Zaleckas
<paulius.zaleckas@teltonika.lt>
Mon, 23 Feb 2009 04:59:43 +0000
(
04:59
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:02:55 +0000
(23:02 -0800)
Local variable dev = ppp->dev
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ppp_generic.c
b/drivers/net/ppp_generic.c
index
81e7fcc
..
ea8cdf8
100644
(file)
--- a/
drivers/net/ppp_generic.c
+++ b/
drivers/net/ppp_generic.c
@@
-991,7
+991,7
@@
ppp_start_xmit(struct sk_buff *skb, struct net_device *dev)
outf:
kfree_skb(skb);
- ++
ppp->
dev->stats.tx_dropped;
+ ++dev->stats.tx_dropped;
return 0;
}