commit | 37f304d10030bb425c19099e7b955d9c3ec4cba3 | [log] [tgz] |
---|---|---|
author | Saeed Mahameed <saeedm@mellanox.com> | Wed Dec 28 14:58:42 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 28 14:36:53 2016 -0500 |
tree | 9697826bbafa4b6c068fbe188b47986180b77b99 | |
parent | 610e89e05c3f28a7394935aa6b91f99548c4fd3c [diff] |
net/mlx5e: Disable netdev after close Disable netdev should come after it was closed, although no harm of doing it before -hence the MLX5E_STATE_DESTROYING bit- but it is more natural this way. Fixes: 26e59d8077a3 ("net/mlx5e: Implement mlx5e interface attach/detach callbacks") Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>