Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_deactivate() race
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-09-11 11:45:08
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-09-11 11:45:08
On Thu, Sep 11, 2008 at 04:42:55AM -0700, David Miller wrote:
This gets us back to the whole qdisc->ops->peek() discussion :)
That just proves it's a good idea :)
And we don't have the qdisc lock here, taking it is undesirable, and if we do take it we have to transfer that lock down into __qdisc_run() which means adjusting all the other __qdisc_run() callers.
Last I checked qdisc_run did run under the root lock... Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt