]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net/mlx5e: Use ndo_stop explicitly at shutdown flow
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 9 Jun 2016 21:07:39 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:27 +0000 (22:06 -0700)
commit811afeaa3797bdf4eabed286100811b33005c9e0
treeb81ce50f96cf4bd846d2666e74dd3a7436b3d22d
parent62e3c24ac4f0ee307c41a3652636f88a3f8d165c
net/mlx5e: Use ndo_stop explicitly at shutdown flow

The current implementation copies the flow of ndo_stop instead of
calling it explicitly, Fixed it.

Fixes: 5fc7197d3a25 ("net/mlx5: Add pci shutdown callback")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c