diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2008-11-05 16:53:50 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-11-07 03:33:43 -0500 |
commit | c1adbb9681c30e984272b66623c4d5774b3981e1 (patch) | |
tree | 9cf076122f89a5390e66f7caa4cab9e4f3efd916 /drivers | |
parent | bbb770e7ab9a436752babfc8765e422d7481be1f (diff) | |
download | blackbird-op-linux-c1adbb9681c30e984272b66623c4d5774b3981e1.tar.gz blackbird-op-linux-c1adbb9681c30e984272b66623c4d5774b3981e1.zip |
mlx4_en: Start port error flow bug fix
Tried to deactivate rx ring that wasn't activated,
used wrong index.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/mlx4/en_netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c index a339afbeed38..a3f732418c49 100644 --- a/drivers/net/mlx4/en_netdev.c +++ b/drivers/net/mlx4/en_netdev.c @@ -706,7 +706,7 @@ tx_err: mlx4_en_release_rss_steer(priv); rx_err: for (i = 0; i < priv->rx_ring_num; i++) - mlx4_en_deactivate_rx_ring(priv, &priv->rx_ring[rx_index]); + mlx4_en_deactivate_rx_ring(priv, &priv->rx_ring[i]); cq_err: while (rx_index--) mlx4_en_deactivate_cq(priv, &priv->rx_cq[rx_index]); |