[LARTC] Re: [PATCH] IMQ vs. local traffic

Jarek Poplawski jarkap at poczta.onet.pl
Fri Jul 14 07:42:47 CEST 2006


Jarek Poplawski wrote:
...
> And then I've found this strange thing: packets outgoing from lo
> to any local address are hooked to IMQ queue from PREROUTING (on
> ingress). I know they are going there from OUTPUT for routing
> decision and should be delivered to hooks in PREROUTING like IMQ,
> but they also should not have IMQ flag set at the moment (they
> will be "tagged" by iptables in the POSTROUTING future!). But for
> some reasons (probably some shortcut) they do have this flag and
> IMQ egress queue is not on their way.

Bad diagnose! There is no shortcut. Only in my testing procedure: 
  I've switched off the egress hook, so the IMQ flag traveled 
from POSTROUTING to PREROUTING not annoyed. I forgot it isn't the 
real device. Sorry for misleading.

> So I added this short test in imq_nf_hook and my soft lockups
> are gone.

Nevertheles this method works. I dont't know why, yet. It exludes 
one direction of local traffic from queuing but who cares?

Jarek P.



More information about the LARTC mailing list