commit | a158906dd7d4379e85ec371a14edfe1ce5f2318d | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@dev.mellanox.co.il> | Thu Nov 06 12:51:21 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 06 16:40:35 2014 -0500 |
tree | 435962b39e77df458649a115deabe4af45b85ece | |
parent | b31f65fb4383a49bdcfa465176754b37e44e1e17 [diff] |
net/mlx5_core: Fix race in create EQ After the EQ is created, it can possibly generate interrupts and the interrupt handler is referencing eq->dev. It is therefore required to set eq->dev before calling request_irq() so if an event is generated before request_irq() returns, we will have a valid eq->dev field. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>