Skip to contentSkip to conversation

netem with prio hangs on duplicate

Netem Stephen Hemminger 1 participant 1 message Apr 4, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 15 lines · On Mon, 4 Apr 2005 11:00:36 -0700 Stephen Hemminger <[email protected]> wrote:
Quoted 11 lines · On Wed, 30 Mar 2005 10:05:04 -0800 (PST) js si <[email protected]> wrote:

hi

i tried the example given on the examples page to duplicate selected traffic like

tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:3 handle 3: netem duplicate 40%
tc filter add dev eth0 protocol ip parent 1:0 prio 3 u32 match ip dst 11.0.2.2 flowid 1:3

Quoted 3 lines

Try this. qdisc_restart() has a bug. It will spin until packet becomes available, which is wrong. This effects both netem and tbf, maybe other qdisc as well.

Never mind, that patch is crap...
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc