From: Patrick McHardy Date: Thu, 30 Nov 2006 01:37:42 +0000 (-0800) Subject: [NET_SCHED]: Fix endless loops (part 5): netem/tbf/hfsc ->requeue failures X-Git-Tag: v2.6.20-rc1~34^2~40^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e488eafcc50be296f0d1e1fd67c6b5d865183011;p=pandora-kernel.git [NET_SCHED]: Fix endless loops (part 5): netem/tbf/hfsc ->requeue failures When peeking at the next packet in a child qdisc by calling dequeue/requeue, the upper qdisc qlen counter may get out of sync in case the requeue fails. The qdisc and the child qdisc both have their counter decremented, but since no packet is given to the upper qdisc it won't decrement its counter itself. requeue should not fail, so this is mostly for "correctness". Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed