commit | 364d1798efdf13c7f2b9d902228adf8e84f1d963 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@dev.mellanox.co.il> | Thu Nov 06 12:51:22 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 06 16:40:36 2014 -0500 |
tree | 7662a703252362ffbca459f891a34f73e6140c8c | |
parent | a158906dd7d4379e85ec371a14edfe1ce5f2318d [diff] |
net/mlx5_core: Fix race on driver load When events arrive at driver load, the event handler gets called even before the spinlock and list are initialized. Fix this by moving the initialization before EQs creation. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>