On Fri, 23 Mar 2007 14:35:40 +0100 (MET)
Patrick McHardy [EMAIL PROTECTED] wrote:
[NET_SCHED]: sch_netem: fix off-by-one in send time comparison
netem checks PSCHED_TLESS(cb-time_to_send, now) to find out whether it is
allowed to send a packet, which is equivalent to cb-time_to_send now.
[NET_SCHED]: sch_netem: fix off-by-one in send time comparison
netem checks PSCHED_TLESS(cb-time_to_send, now) to find out whether it is
allowed to send a packet, which is equivalent to cb-time_to_send now.
Use !PSCHED_TLESS(now, cb-time_to_send) instead to properly handle
cb-time_to_send ==