diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-17 04:54:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-17 19:21:30 -0700 |
commit | 99194cff398d056e5ee469647c294466c246c88a (patch) | |
tree | 24d85fffc71915a61bcc062deb32a4fa82dc7b9a /scripts/Lindent | |
parent | 83874000929ed63aef30b44083a9f713135ff040 (diff) | |
download | blackbird-op-linux-99194cff398d056e5ee469647c294466c246c88a.tar.gz blackbird-op-linux-99194cff398d056e5ee469647c294466c246c88a.zip |
pkt_sched: Add multiqueue handling to qdisc_graft().
Move the destruction of the old queue into qdisc_graft().
When operating on a root qdisc (ie. "parent == NULL"), apply
the operation to all queues. The caller has grabbed a single
implicit reference for this graft, therefore when we apply the
change to more than one queue we must grab additional qdisc
references.
Otherwise, we are operating on a class of a specific parent qdisc, and
therefore no multiqueue handling is necessary.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions