[ofa-general] [PATCH v2] ipiob: fix rtnl deadlock
Eli Cohen
eli at dev.mellanox.co.il
Sun Aug 17 03:45:22 PDT 2008
On Fri, Aug 15, 2008 at 03:19:53PM -0700, Roland Dreier wrote:
> @@ -1314,7 +1308,7 @@ sysfs_failed:
>
> register_failed:
> ib_unregister_event_handler(&priv->event_handler);
> - flush_scheduled_work();
> + flush_workqueue(ipoib_workqueue);
>
I don't find any flaw in this approach, but I don't understand why is
the flush_workqueue(ipoib_workqueue) above needed.
More information about the general
mailing list