Re: [PATCH] IMQ vs. local traffic

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux