Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242630
b: refs/heads/master
c: b605500
h: refs/heads/master
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Mar 23, 2011
1 parent 6bdba49 commit 4c4f6c6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: eb49a97363f020c1d7eef8bcd93865726b1fa11d
refs/heads/master: b6055006b26de15aaa66870809b3d63b334737ce
2 changes: 1 addition & 1 deletion trunk/drivers/net/mlx4/en_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ int mlx4_en_DUMP_ETH_STATS(struct mlx4_en_dev *mdev, u8 port, u8 reset)
}
stats->tx_packets = 0;
stats->tx_bytes = 0;
for (i = 0; i <= priv->tx_ring_num; i++) {
for (i = 0; i < priv->tx_ring_num; i++) {
stats->tx_packets += priv->tx_ring[i].packets;
stats->tx_bytes += priv->tx_ring[i].bytes;
}
Expand Down

0 comments on commit 4c4f6c6

Please sign in to comment.