summaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorDavid S. Miller2008-07-17 13:54:10 +0200
committerDavid S. Miller2008-07-18 04:21:30 +0200
commit99194cff398d056e5ee469647c294466c246c88a (patch)
tree24d85fffc71915a61bcc062deb32a4fa82dc7b9a /include/net/sch_generic.h
parentpkt_sched: Kill netdev_queue lock. (diff)
downloadkernel-qcow2-linux-99194cff398d056e5ee469647c294466c246c88a.tar.gz
kernel-qcow2-linux-99194cff398d056e5ee469647c294466c246c88a.tar.xz
kernel-qcow2-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 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions