* [LARTC] IMQ - bug when doing ingress and egress shaping on the same interface.
@ 2003-03-31 6:33 Kjell Chris Flor
2003-03-31 12:45 ` [LARTC] IMQ - bug when doing ingress and egress shaping on the Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Kjell Chris Flor @ 2003-03-31 6:33 UTC (permalink / raw)
To: lartc
http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg03827.html
you can't add ingress and egress packets into
the same IMQ device from the same physical device.
iptables -t mangle -A POSTROUTING -o eth0 -j IMQ
iptables -t mangle -A PRETROUTING -i eth0 -j IMQ
Is this problem solved?
****************************************************
Is it?
Kjell
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] IMQ - bug when doing ingress and egress shaping on the
2003-03-31 6:33 [LARTC] IMQ - bug when doing ingress and egress shaping on the same interface Kjell Chris Flor
@ 2003-03-31 12:45 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2003-03-31 12:45 UTC (permalink / raw)
To: lartc
Kjell Chris Flor wrote:
>http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg03827.html
>
>you can't add ingress and egress packets into
>the same IMQ device from the same physical device.
>
>iptables -t mangle -A POSTROUTING -o eth0 -j IMQ
>iptables -t mangle -A PRETROUTING -i eth0 -j IMQ
>
>Is this problem solved?
>
>
>****************************************************
>
>Is it?
>
>
>Kjell
>
>
i'm sorry to disapoint you, it is not solved and might possibly never be.
I'm thinking about dropping imq maintenance, i don't need it myself
anymore and due to lack of time i cannot provide even the most-requested
features. i think the imq users would be better of with a maintainer who
actually uses imq himself.
Volunteers are welcome!
If anyone wants to "fix" the issue described in this mail, it's
basically a fact
of dropping dev->xmit_lock before reinjecting the packet in imq_xmit and
grabbing it back afterwards. look in net/sched/sch_generic.c::sch_restart()
in order to understand what to do exactly with the locks. make sure to
catch too deep recursion, one or two levels should be enough.
Bye,
Patrick
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-31 12:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-31 6:33 [LARTC] IMQ - bug when doing ingress and egress shaping on the same interface Kjell Chris Flor
2003-03-31 12:45 ` [LARTC] IMQ - bug when doing ingress and egress shaping on the Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.