diff options
| author | 2014-10-27 11:37:46 +0200 | |
|---|---|---|
| committer | 2014-10-28 17:18:01 -0400 | |
| commit | 207af6c5073021dfe32ae01d342a4dbf08e57515 (patch) | |
| tree | 1ece44e291837c2c1ee497796f24035dca9fad70 /include/linux | |
| parent | net/mlx4_en: Call napi_synchronize on stop_port (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
