diff options
author | Patrick McHardy <kaber@trash.net> | 2006-11-29 17:37:42 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:31:46 -0800 |
commit | e488eafcc50be296f0d1e1fd67c6b5d865183011 (patch) | |
tree | 792549530bf6d6e36cf48c9192194bccad158e2d /include/asm-s390 | |
parent | 256d61b87b2c2ac6fc333c1654d1abea61979006 (diff) | |
download | op-kernel-dev-e488eafcc50be296f0d1e1fd67c6b5d865183011.zip op-kernel-dev-e488eafcc50be296f0d1e1fd67c6b5d865183011.tar.gz |
[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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-s390')
0 files changed, 0 insertions, 0 deletions