diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2014-10-27 11:37:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-28 17:18:01 -0400 |
commit | 207af6c5073021dfe32ae01d342a4dbf08e57515 (patch) | |
tree | 1ece44e291837c2c1ee497796f24035dca9fad70 /drivers/net/ethernet/mellanox/mlx4/Makefile | |
parent | f4a36751584bbdfcfd6f3f232e0fe899763434a4 (diff) |
net/mlx4_en: Move spinlocks and work initalizations to beginning of init_netdev
Upon failures, destroy_netdev is called, and spinlocks/works must be
initialized before calling it. Otherwise kernel panic may occur.
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/Makefile')
0 files changed, 0 insertions, 0 deletions