]> git.baikalelectronics.ru Git - kernel.git/commit
[NETEM]: report reorder percent correctly.
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 22 Mar 2007 19:15:45 +0000 (12:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:27:20 +0000 (22:27 -0700)
commit0300a0fbe9e75253c9e4cde7e40cafcbbaaf7ff7
treea92d9d1fc25bc03f0c3d465e40519ea63ce2878f
parent83ca6dc99a1690747151824998f17c1f8346534a
[NETEM]: report reorder percent correctly.

If you setup netem to just delay packets; "tc qdisc ls" will report
the reordering as 100%. Well it's a lie, reorder isn't used unless
gap is set, so just set value to 0 so the output of utility
is correct.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c