commit | d0d012509f2ecee9af1857ccacac33b2266c6ce8 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Tue Dec 30 11:59:50 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 02 15:41:29 2015 -0500 |
tree | 21c623ec85ad80b7c88c5986972c1d519112eb05 | |
parent | a51e0df4c1e06afd7aba84496c14238e6b363caa [diff] |
net/mlx4_core: Fix error flow in mlx4_init_hca() We shouldn't call UNMAP_FA here, this is done in mlx4_load_one. If mlx4_query_func fails, we need to invoke CLOSE_HCA for both native and master. Fixes: a0eacca948d2 ('net/mlx4_core: Refactor mlx4_load_one') Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>