[PKT_SCHED]: netetm: adjust parent qlen when duplicating
authorStephen Hemminger <shemminger@osdl.org>
Tue, 3 May 2005 23:24:57 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 23:24:57 +0000 (16:24 -0700)
commitd5d75cd6b10ddad2f375b61092754474ad78aec7
tree73b6a0fa4177d8d7bfed465201842a3742a709c0
parent771018e76aaa6474be20a53c20458bcae8b00485
[PKT_SCHED]: netetm: adjust parent qlen when duplicating

Fix qlen underrun when doing duplication with netem. If netem is used
as leaf discipline, then the parent needs to be tweaked when packets
are duplicated.

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