]> err.no Git - linux-2.6/commit
[PKT_SCHED]: netem: reinsert for duplication
authorStephen Hemminger <shemminger@osdl.org>
Thu, 26 May 2005 19:53:49 +0000 (12:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2005 19:53:49 +0000 (12:53 -0700)
commit0afb51e72855971dba83b3c6b70c547c2d1161fd
tree8f0e3cd40e381f4dd9de2e7431490ae8cbbf6498
parentcdbbde14cb55dd10771ce79154f787322d88411b
[PKT_SCHED]: netem: reinsert for duplication

Handle duplication of packets in netem by re-inserting at top of qdisc tree.
This avoid problems with qlen accounting with nested qdisc. This recursion
requires no additional locking but will potentially increase stack depth.

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