Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351670
b: refs/heads/master
c: 2d51837
h: refs/heads/master
v: v3
  • Loading branch information
Eugenia Emantayev authored and David S. Miller committed Jan 28, 2013
1 parent 8404018 commit 8d28aa6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: a1b1add07fa794974573d93483d68e373edfe7bd
refs/heads/master: 2d51837fa1ee7ff5c42f34b07dc460daff6afda1
8 changes: 4 additions & 4 deletions trunk/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,12 +977,12 @@ static void mlx4_en_do_get_stats(struct work_struct *work)
struct mlx4_en_dev *mdev = priv->mdev;
int err;

err = mlx4_en_DUMP_ETH_STATS(mdev, priv->port, 0);
if (err)
en_dbg(HW, priv, "Could not update stats\n");

mutex_lock(&mdev->state_lock);
if (mdev->device_up) {
err = mlx4_en_DUMP_ETH_STATS(mdev, priv->port, 0);
if (err)
en_dbg(HW, priv, "Could not update stats\n");

if (priv->port_up)
mlx4_en_auto_moderation(priv);

Expand Down

0 comments on commit 8d28aa6

Please sign in to comment.