David S. Miller 3072367300 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 <davem@davemloft.net>
2008-07-18 22:50:15 -07:00
..
2008-05-14 19:23:27 -05:00
2008-06-17 16:20:06 -07:00
2008-06-11 21:00:38 -07:00
2008-07-05 23:38:43 -07:00
2008-07-16 20:31:16 -07:00
2008-07-18 18:05:19 -07:00
2008-07-16 20:31:16 -07:00
2008-07-05 21:25:39 -07:00
2008-07-08 03:23:36 -07:00
2008-06-11 21:00:38 -07:00