net/mlx4_en: Fix resource leak in error flow
authorDotan Barak <dotanb@dev.mellanox.com>
Tue, 25 Jun 2013 09:09:29 +0000 (12:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:29:38 +0000 (16:29 -0700)
commit8850494a33cc67bbf31d2e3ce630d0f4e14efa56
tree14eef123281ca4b6da2392c19b858bc2898b7d65
parent2b9651d72d3fc1a9053ae1a323f8407e1f63b436
net/mlx4_en: Fix resource leak in error flow

Wrong condition was used when calling iounmap.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_main.c