[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080611.001023.72549734.davem@davemloft.net>
Date: Wed, 11 Jun 2008 00:10:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: johannes@...solutions.net, davej@...emonkey.org.uk,
netdev@...r.kernel.org
Subject: Re: 2.6.25rc7 lockdep trace
From: Jarek Poplawski <jarkao2@...il.com>
Date: Wed, 11 Jun 2008 07:08:47 +0000
> On 11-06-2008 07:40, David Miller wrote:
> ...
> > Ok, I did an audit of all the drivers under drivers/net that invoke
> > flush_scheduled_work(). Here is my audit analysis and the patch I
> > came up with. The only deadlock'y case I couldn't fix right now is
> > the cassini driver, see below for details and the patch:
> >
> > 8139too: Calls flush_scheduled_work() in device remove method, OK.
>
> I have some doubt here: this rtl8139_thred() work function seems to
> rearm if netif_running(). Is it guaranteed a dev is down while
> running this flush_scheduled_work()?
Indeed, perhaps it should do the flush_scheduled_work()
after the unregister_netdev().
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists