projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbb770e
)
mlx4_en: Start port error flow bug fix
author
Yevgeny Petrilin
<yevgenyp@mellanox.co.il>
Wed, 5 Nov 2008 14:53:50 +0000
(16:53 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Fri, 7 Nov 2008 08:33:43 +0000
(
03:33
-0500)
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>
drivers/net/mlx4/en_netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx4/en_netdev.c
b/drivers/net/mlx4/en_netdev.c
index
a339afb
..
a3f7324
100644
(file)
--- 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]);