net/mlx4_core: Fix call to __mlx4_unregister_mac
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 3 Nov 2013 08:04:07 +0000 (10:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Nov 2013 05:51:10 +0000 (00:51 -0500)
commitc32b7dfbb1dfb3f0a68f250deff65103c8bb704a
tree7197bf07597c08fdca674fbc5e7cc29d7ddc9341
parente9b51a198c6000ea027d81ffc967f6c10f77102d
net/mlx4_core: Fix call to __mlx4_unregister_mac

In function mlx4_master_deactivate_admin_state() __mlx4_unregister_mac was
called using the MAC index. It should be called with the value of the MAC itself.

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>
drivers/net/ethernet/mellanox/mlx4/cmd.c