mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
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>
This commit is contained in:
parent
bbb770e7ab
commit
c1adbb9681
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user