From: David S. Miller Date: Wed, 16 Jul 2008 08:42:40 +0000 (-0700) Subject: pkt_sched: Add and use qdisc_root() and qdisc_root_lock(). X-Git-Tag: v2.6.27-rc1~969^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7698b4fcabcd790efc4f226bada1e7b5870653af;p=pandora-kernel.git pkt_sched: Add and use qdisc_root() and qdisc_root_lock(). When code wants to lock the qdisc tree state, the logic operation it's doing is locking the top-level qdisc that sits of the root of the netdev_queue. Add qdisc_root_lock() to represent this and convert the easiest cases. In order for this to work out in all cases, we have to hook up the noop_qdisc to a dummy netdev_queue. Signed-off-by: David S. Miller --- Reading git-diff-tree failed