On Monday 06 August 2007 16:23:50 Johannes Berg wrote: > On Fri, 2007-08-03 at 12:50 +0200, Michael Buesch wrote: > > > Ah, Ok. I didn't see that rtnl is locked there, too. > > cancel_delayed_work_sync could probably work. Care to test that? > > It's harder than thought, runs into the next use of flush_scheduled_work > under rtnl. I think the only solution is to go with your patch and then > add an own single-threaded workqueue to softmac again and use that > everywhere instead of the global one; at least that way the rtnl doesn't > get into the way. Yep, but this patch turns the bug from a "It will 100% deadlock all the time" into a "It might possibly deadlock, although unlikely" So it's a win for that crap softmac code. -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html