From: David S. Miller Date: Tue, 19 Aug 2008 04:03:15 +0000 (-0700) Subject: pkt_sched: Don't hold qdisc lock over qdisc_destroy(). X-Git-Tag: v2.6.27-rc4~39^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8863a29c4755a0461cd31b6865026187d6c43a;p=pandora-kernel.git pkt_sched: Don't hold qdisc lock over qdisc_destroy(). Based upon reports by Denys Fedoryshchenko, and feedback and help from Jarek Poplawski and Herbert Xu. We always either: 1) Never made an external reference to this qdisc. or 2) Did a dev_deactivate() which purged all asynchronous references. So do not lock the qdisc when we call qdisc_destroy(), it's illegal anyways as when we drop the lock this is free'd memory. Signed-off-by: David S. Miller --- Reading git-diff-tree failed