mlx4_en: Fix cleanup flow on cq activation
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Sun, 26 Apr 2009 20:41:34 +0000 (20:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 09:31:31 +0000 (02:31 -0700)
commita4233304bb43f87f97fc2ac9143b513814dcf094
tree4498832c81288d701631f849b9c1f1c03414e3b7
parentadc667e84f086aa110d810f3476c494e48eaabaa
mlx4_en: Fix cleanup flow on cq activation

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