[ofa-general] Re: [PATCH] mlx4_en: Start port error flow bug fix

Jeff Garzik jgarzik at pobox.com
Wed Nov 5 21:43:31 PST 2008


Yevgeny Petrilin wrote:
> Tried to deactivate rx ring that wasn't activated,
> used wrong index.
> 
> Signed-off-by: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
> ---
>  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 12d736a..96e709d 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:

applied





More information about the general mailing list