(E-Mail Removed) wrote:
> Kernel 2.6.16.12, iptables 1.3.4
> imq kernel module loads correctly with 4 interfaces. When my system
> works lsmod show imq usage equals few thousands
>
> router:~# lsmod |grep imq
> imq 3588 14237
>
> Morover usage of imq module grows during my system works. I use only 2
> imq interfaces
> 6: imq0: <NOARP,UP> mtu 1500 qdisc htb qlen 30
> link/void
> 7: imq1: <NOARP,UP> mtu 1500 qdisc htb qlen 30
> link/void
>
> When I observe strange behaviour of imq module all fraffic shaping,
> that uses imq seems to work fine. Any ideas?
>
IMQ is a considered a hack and so not in kernel.
Since 2.6.16 you can use IFB which can cover most but not all IMQ
functionality.
I still use IMQ and it seems that the ref count is dropped packets
(+backlog if any). I suppose it's because they are stolen from netfilter
and when dropped by queues they are released in a way which doesn't
expect them to have been stolen from netfilter.
Andy.