[PKT_SCHED]: netetm: make qdisc friendly to outer disciplines
authorStephen Hemminger <shemminger@osdl.org>
Tue, 3 May 2005 23:24:32 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 23:24:32 +0000 (16:24 -0700)
commit771018e76aaa6474be20a53c20458bcae8b00485
treeacbd1186524815205337dd57322a4926cadc3554
parent8cbe1d46d69f9e2c49f284fe0e9aee3387bd2c71
[PKT_SCHED]: netetm: make qdisc friendly to outer disciplines

Netem currently dumps packets into the queue when timer expires. This
patch makes work by self-clocking (more like TBF).  It fixes a bug
when 0 delay is requested (only doing loss or duplication).

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