Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8711
b: refs/heads/master
c: 4f63b87
h: refs/heads/master
i:
  8709: 6cea025
  8707: 24fe489
  8703: c1fcf53
v: v3
  • Loading branch information
John W. Linville authored and David S. Miller committed Sep 12, 2005
1 parent b63f0c6 commit 2c2207c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: b88a762b6062f06d431af0045de4854a758646c0
refs/heads/master: 4f63b877726135b19ae73108acf9e0ebb4323dda
6 changes: 4 additions & 2 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -6893,8 +6893,7 @@ static struct net_device_stats *tg3_get_stats(struct net_device *dev)
get_stat64(&hw_stats->tx_octets);

stats->rx_errors = old_stats->rx_errors +
get_stat64(&hw_stats->rx_errors) +
get_stat64(&hw_stats->rx_discards);
get_stat64(&hw_stats->rx_errors);
stats->tx_errors = old_stats->tx_errors +
get_stat64(&hw_stats->tx_errors) +
get_stat64(&hw_stats->tx_mac_errors) +
Expand Down Expand Up @@ -6922,6 +6921,9 @@ static struct net_device_stats *tg3_get_stats(struct net_device *dev)
stats->rx_crc_errors = old_stats->rx_crc_errors +
calc_crc_errors(tp);

stats->rx_missed_errors = old_stats->rx_missed_errors +
get_stat64(&hw_stats->rx_discards);

return stats;
}

Expand Down

0 comments on commit 2c2207c

Please sign in to comment.