mlx4_core: fix memory leak at multi_func_cleanup
authorEugenia Emantayev <eugenia@mellanox.co.il>
Mon, 6 Feb 2012 06:26:17 +0000 (06:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2012 17:10:11 +0000 (12:10 -0500)
commitf08ad06c05bf58ac38ad7b2fc97b243c12459ff2
tree4451e3577163d8f8cb2f9474a1069384265bb241
parentb530b1930bbd9d005345133f0ff0c556d2a52b19
mlx4_core: fix memory leak at multi_func_cleanup

Perform cleanup also in non-master flow.
The VFs use communication channel as well.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c