Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209291
b: refs/heads/master
c: e402e38
h: refs/heads/master
i:
  209289: 9edac29
  209287: 2337640
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Aug 13, 2010
1 parent 98b1204 commit b2cf382
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b47ac63c7229dd13daf4d7eed806d720f769c526
refs/heads/master: e402e38c6b148febf8c3c39546e24584eaa23e42
3 changes: 2 additions & 1 deletion trunk/arch/s390/appldata/appldata_net_sum.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ static void appldata_get_net_sum_data(void *data)

rcu_read_lock();
for_each_netdev_rcu(&init_net, dev) {
const struct rtnl_link_stats64 *stats;
struct rtnl_link_stats64 temp;
const struct net_device_stats *stats = dev_get_stats(dev, &temp);

stats = dev_get_stats(dev, &temp);
rx_packets += stats->rx_packets;
tx_packets += stats->tx_packets;
rx_bytes += stats->rx_bytes;
Expand Down

0 comments on commit b2cf382

Please sign in to comment.