From: David S. Miller Date: Sat, 19 Jul 2008 05:50:15 +0000 (-0700) Subject: pkt_sched: Manage qdisc list inside of root qdisc. X-Git-Tag: v2.6.27-rc1~969^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3072367300aa8c779e3a14ee8e89de079e90f3ad;p=pandora-kernel.git pkt_sched: Manage qdisc list inside of root qdisc. Idea is from Patrick McHardy. Instead of managing the list of qdiscs on the device level, manage it in the root qdisc of a netdev_queue. This solves all kinds of visibility issues during qdisc destruction. The way to iterate over all qdiscs of a netdev_queue is to visit the netdev_queue->qdisc, and then traverse it's list. The only special case is to ignore builting qdiscs at the root when dumping or doing a qdisc_lookup(). That was not needed previously because builtin qdiscs were not added to the device's qdisc_list. Signed-off-by: David S. Miller --- Reading git-diff-tree failed