commit | 9d76931180557270796f9631e2c79b9c7bb3c9fb | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Tue Jun 21 14:20:03 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 22 16:38:11 2016 -0400 |
tree | 58119d9fbb3bfae0856da104657aad7d3dcf59f7 | |
parent | 93c098af09455ea7bdc6f0f6b08f6ac14fa06cf4 [diff] |
net/mlx4_en: Avoid unregister_netdev at shutdown flow This allows a clean shutdown, even if some netdev clients do not release their reference from this netdev. It is enough to release the HW resources only as the kernel is shutting down. Fixes: 2ba5fbd62b25 ('net/mlx4_core: Handle AER flow properly') Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>