diff options
author | Ilan Tayari <ilant@mellanox.com> | 2017-05-25 08:42:07 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-06-27 16:36:47 +0300 |
commit | 9ade8c7c3c6feb2c477bc20b3458b5edbcf4a87e (patch) | |
tree | 13178d1aae7778082a6af768bab7cdaca3366f03 /arch | |
parent | 593814d1beae8ad91be6c90f95764e09fc7ca236 (diff) |
net/mlx5: Set interface flags before cleanup in unload_one
In load_one, the interface flags are changed from down to up,
only after initializing the interfaces.
In unload_one, the flags are changed from up to down before the
interface cleanup.
Change the cleanup order to be opposite to initialization order.
This fixes flag consistency between init and cleanup.
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions