Subject: Re: 2.6.25rc7 lockdep trace

From: David Miller <[email-masked]>
Date: Fri, 28 Mar 2008 18:06:31 -0700 (PDT)

From: Johannes Berg <[email-masked]>
Date: Sat, 29 Mar 2008 01:54:09 +0100

> Maybe we should check which schedule_work users actually lock the rtnl
> within the work function and move them to a uses-rtnl-in-work workqueue
> so that everybody else can have rtnl around flush.

The issue is that linkwatch goes: workqueue lock --> RTNL

And thus taking workqueue lock within RTNL is deadlock
prone no matter where you do it.