diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2009-04-20 04:24:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-21 01:47:03 -0700 |
commit | 9a4f92a603cd72ee534cead20cbc627b34cfc884 (patch) | |
tree | 12acfcdca721ebbacf3b9f75cbb425f8fee7576e /drivers/net/mlx4/en_resources.c | |
parent | 775d8d931581764a1ec982ebe5a927b12762fb6d (diff) |
mlx4_en: Fix error handling while activating RX rings
In case of failure of either srq creation or page allocation,
the cleanup code handled the failed ring as well, and tried
to destroy resources that where not allocated.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_resources.c')
0 files changed, 0 insertions, 0 deletions