From: David S. Miller Date: Thu, 17 Jul 2008 11:54:10 +0000 (-0700) Subject: pkt_sched: Add multiqueue handling to qdisc_graft(). X-Git-Tag: v2.6.27-rc1~969^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99194cff398d056e5ee469647c294466c246c88a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed