Re: netem undesired packet re-ordering bug

2005-11-18 Thread Stephen Hemminger
On Fri, 18 Nov 2005 14:03:10 + Andrea Bittau <[EMAIL PROTECTED]> wrote: > If packets are sent to the netem queue at the same time, they will be > reversed, even if re-ordering has not been enabled. > > The problem is in sch_netem.c line 467: > if (PSCHED_TLESS(cb->time_to_send, ncb->time_to_s

netem undesired packet re-ordering bug

2005-11-18 Thread Andrea Bittau
If packets are sent to the netem queue at the same time, they will be reversed, even if re-ordering has not been enabled. The problem is in sch_netem.c line 467: if (PSCHED_TLESS(cb->time_to_send, ncb->time_to_send)) The queue is being traversed from back to front. If A and B are sent at the sam