projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/net/mlx4/en_netdev.c
b/drivers/net/mlx4/en_netdev.c
index a339afbeed38f347ab95d789cb93a6be0385021e..a3f732418c49dc68e4545bf404eb0a8fd36c42d7 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]);