aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp/ipoib
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-03-20 10:08:25 -0800
committerRoland Dreier <rolandd@cisco.com>2006-03-20 10:08:25 -0800
commitdc05980dd736bfbe5b2524b463e5f098e67a64e9 (patch)
tree87f212e24ee4362a5e670418b32bd0c959d3f1c6 /drivers/infiniband/ulp/ipoib
parentbf17c1c7cc9250d7c3c01b0ae898aefa1853535a (diff)
IB/mad: Fix oopsable race on device removal
Fix an oopsable race debugged by Eli Cohen <eli@mellanox.co.il>: After removing the port from port_list, ib_mad_port_close flushes port_priv->wq before destroying the special QPs. This means that a completion event could arrive, and queue a new work in this work queue after flush. This patch also removes an unnecessary flush_workqueue(): destroy_workqueue() already includes a flush. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib')
0 files changed, 0 insertions, 0 deletions