Here are two possible solutions:
1) The active way: smp_call_function and forcibly remove the qdiscs
in question from each output_queue.
2) The passive way: Make dev_deactive call yield() until no qdisc's
are on an output_queue. This assumes there is some sort of dead
flag detection on the output_queue side so it doesn't keep going
forever.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html