projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc667e
)
mlx4_en: Fix cleanup flow on cq activation
author
Yevgeny Petrilin
<yevgenyp@mellanox.co.il>
Sun, 26 Apr 2009 20:41:34 +0000
(20:41 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Apr 2009 09:31:31 +0000
(
02:31
-0700)
In case of mlx4_en_activate_cq() failure, the cleanup
code would go to rx_err and try to disable unactivated rings.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
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 438678ab2a1064bd01e50600ddb6247b04310ce7..7bcc49de163787a5bc1c0f5015d711a40700d80f 100644
(file)
--- a/
drivers/net/mlx4/en_netdev.c
+++ b/
drivers/net/mlx4/en_netdev.c
@@
-583,7
+583,7
@@
int mlx4_en_start_port(struct net_device *dev)
err = mlx4_en_activate_cq(priv, cq);
if (err) {
mlx4_err(mdev, "Failed activating Rx CQ\n");
- goto
rx
_err;
+ goto
cq
_err;
}
for (j = 0; j < cq->size; j++)
cq->buf[j].owner_sr_opcode = MLX4_CQE_OWNER_MASK;