diff options
author | Andrea Bittau <a.bittau@cs.ucl.ac.uk> | 2005-11-20 22:41:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-20 22:41:05 +0100 |
commit | aa8751667dcd757dd9a711b51140adf181501c44 (patch) | |
tree | 6f5e96806b59d6a1601168eab5e0843a00380253 /include/asm-m68knommu | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (diff) | |
download | linux-aa8751667dcd757dd9a711b51140adf181501c44.tar.xz linux-aa8751667dcd757dd9a711b51140adf181501c44.zip |
[PKT_SCHED]: sch_netem: correctly order packets to be sent simultaneously
If two packets were queued to be sent at the same time in the future,
their order would be reversed. This would occur because the queue is
traversed back to front, and a position is found by checking whether
the new packet needs to be sent before the packet being examined. If
the new packet is to be sent at the same time of a previous packet, it
would end up before the old packet in the queue. This patch places
packets in the correct order when they are queued to be sent at a same
time in the future.
Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-m68knommu')
0 files changed, 0 insertions, 0 deletions