IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue
[linux-2.6-microblaze.git] / drivers / infiniband / ulp / ipoib / ipoib_verbs.c
index faaf10e..18d2f53 100644 (file)
@@ -255,6 +255,6 @@ void ipoib_event(struct ib_event_handler *handler,
            record->event == IB_EVENT_LID_CHANGE  ||
            record->event == IB_EVENT_SM_CHANGE) {
                ipoib_dbg(priv, "Port active event\n");
-               schedule_work(&priv->flush_task);
+               queue_work(ipoib_workqueue, &priv->flush_task);
        }
 }